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:
parent
0c2be73411
commit
172c0cac55
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue