Skip to content

Commit 1fb887c

Browse files
committed
fix registry url canonicalization in resolve_authconfig
1 parent d3a2d90 commit 1fb887c

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)