Merge "Strip out port from the alternative registry url"

This commit is contained in:
Zuul 2019-10-11 17:09:08 +00:00 committed by Gerrit Code Review
commit 549145b4a4
1 changed files with 2 additions and 0 deletions

View File

@ -2644,6 +2644,8 @@ class DockerHelper(object):
if quay_registry_url:
quay_url = quay_registry_url[0].value
# If registry url has a port, strip it out
quay_url = re.sub(r':[0-9]+', '', quay_url)
else:
quay_url = constants.DEFAULT_DOCKER_QUAY_REGISTRY