Merge "build-docker-image: Fix buildset registry pushes"

This commit is contained in:
Zuul 2022-04-11 23:23:31 +00:00 committed by Gerrit Code Review
commit 17c41cbff3

View File

@ -1,6 +1,6 @@
- name: Tag image for buildset registry
command: >-
docker tag {{ zj_image.repository }}:{{ zj_image_tag }} {{ buildset_registry_alias }}:{{ buildset_registry.port }}/{{ zj_image.repository }}:{{ zj_image_tag }}
docker tag {{ docker_registry | ternary(docker_registry + '/', '') }}{{ zj_image.repository }}:{{ zj_image_tag }} {{ buildset_registry_alias }}:{{ buildset_registry.port }}/{{ zj_image.repository }}:{{ zj_image_tag }}
loop: "{{ zj_image.tags | default(['latest']) }}"
loop_control:
loop_var: zj_image_tag