Use container_build_id for standalone containers
The container_build_id is set by the container-prep role with multiple fallbacks, we have to use the same value for the standalone-container-prep.sh tag value Story: https://tree.taiga.io/project/tripleo-ci-board/task/251?kanban-status=1447276 Change-Id: I908d5d8d218e49f3ae3c2d4cf89295ce2d260004
This commit is contained in:
parent
c60c139547
commit
8338a939b9
@ -7,8 +7,8 @@ openstack tripleo container image prepare default \
|
|||||||
sed -Ei 's/^([\t ]+)namespace: [a-z./]*/\1namespace: docker.io\/{{ docker_registry_namespace }}/' \
|
sed -Ei 's/^([\t ]+)namespace: [a-z./]*/\1namespace: docker.io\/{{ docker_registry_namespace }}/' \
|
||||||
"{{ working_dir }}/containers-prepare-parameters.yaml"
|
"{{ working_dir }}/containers-prepare-parameters.yaml"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if dlrn_hash_tag != '' %}
|
{% if container_build_id != '' %}
|
||||||
# Make CI specific tag change to the container params
|
# Make CI specific tag change to the container params
|
||||||
sed -Ei 's/^([\t ]+)tag: [a-z-]+/\1tag: {{ dlrn_hash_tag }}/' \
|
sed -Ei 's/^([\t ]+)tag: [a-z-]+/\1tag: {{ container_build_id }}/' \
|
||||||
"{{ working_dir }}/containers-prepare-parameters.yaml"
|
"{{ working_dir }}/containers-prepare-parameters.yaml"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user