Push to local registry when building containers

This will allow for overcloud nodes to access
images from undercloud registry.

Change-Id: I8e985b3759b3acbd80189be5f69f84936c29ff0c
This commit is contained in:
yatinkarel 2022-05-16 11:38:18 +05:30
parent 0c2be73411
commit 172c0cac55
1 changed files with 0 additions and 4 deletions

View File

@ -13,11 +13,7 @@ parameter_defaults:
DockerRegistryMirror: {{ undercloud_docker_registry_mirror }}
{% endif %}
ContainerImagePrepare:
{% if not build_container_images|default(false)|bool %}
- push_destination: "{{ local_docker_registry_host }}:8787"
{% else %}
- push_destination: false
{% endif %}
{% if update_containers|bool
and not use_overcloud_mixed_upgrade|default(false)|bool
and not job.consumer_job | default(false) | bool