Skip to content

Commit

Permalink
Set credentials only on .docker path
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusbv committed Apr 17, 2024
1 parent 77b2928 commit f216223
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/cloudregister/registerutils.py
Expand Up @@ -524,7 +524,6 @@ def set_registry_config(registry_fqdn, username, password):
os.path.expanduser('~'), DOCKER_REGISTRY_CREDENTIALS_PATH
),
os.path.join(os.sep, 'root', DOCKER_REGISTRY_CREDENTIALS_PATH),
os.getenv('XDG_RUNTIME_DIR') # podman path
]
for cfg_path in registry_credentials_paths:
set_registry_credentials(registry_fqdn, username, password, cfg_path)
Expand Down

0 comments on commit f216223

Please sign in to comment.