Support to pull container images from authenticated registries
Fix the constants spelling error which was introduced in commit
https://review.opendev.org/#/c/673100/.
Co-Authored-By: Wayne Chan <chenlx@fiberhome.com>
Change-Id: If00e668c977c540dcd98caaf1207c49ef20897b0
Story: 2006274
Task: 35998
Closes-Bug: 1843915
Signed-off-by: Angie Wang <angie.wang@windriver.com>
(cherry picked from commit 27d3d1af09
)
This commit is contained in:
parent
1179f44e5e
commit
3560d5b9fd
|
@ -2408,9 +2408,9 @@ class DockerHelper(object):
|
|||
# quay.io and docker.io or no registry_name specified in image
|
||||
# tag, use user specified docker registry as default
|
||||
registry = self.registries_info[
|
||||
constants.SERVICE_PARAM_NAME_DOCKER_DOCKER_REGISTRY]['registry_replaced']
|
||||
constants.SERVICE_PARAM_SECTION_DOCKER_DOCKER_REGISTRY]['registry_replaced']
|
||||
registry_auth = self.registries_info[
|
||||
constants.SERVICE_PARAM_NAME_DOCKER_DOCKER_REGISTRY]['registry_auth']
|
||||
constants.SERVICE_PARAM_SECTION_DOCKER_DOCKER_REGISTRY]['registry_auth']
|
||||
|
||||
if registry:
|
||||
LOG.info("Registry %s not recognized or docker.io repository "
|
||||
|
|
Loading…
Reference in New Issue