Use auth file instead of creds in quadlet files

This commit is contained in:
uumas
2025-10-06 16:17:27 +03:00
parent 2712cf2865
commit bdec55ffc7
12 changed files with 19 additions and 65 deletions

View File

@@ -68,6 +68,15 @@ _container_secrets: >-
| map('join', ',')
}}
_container_labels: >-
{{
{'io.containers.autoupdate.authfile': '/etc/containers/auth.json'}
if container_auto_update and
container_image.split('/')[0] in
podman_registry_accounts | map(attribute='registry')
else {}
}}
_container_quadlet_unit_options: |
[Unit]
Description=Container {{ container_name }}