Skip to content

Commit c0703e3

Browse files
committed
Merge pull request #468 from wellbehavedsoftware/fix-auth-urls
Fix registry url canonicalization in resolve_authconfig
2 parents d3a2d90 + 1fb887c commit c0703e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/auth/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def resolve_authconfig(authconfig, registry=None):
8383
#
8484
# as there is only one auth entry which is fully qualified we need to start
8585
# parsing and matching
86-
if '/' not in registry:
86+
if '/v1/' not in registry:
8787
registry = registry + '/v1/'
8888
if not registry.startswith('http:') and not registry.startswith('https:'):
8989
registry = 'https://' + registry

0 commit comments

Comments
 (0)