b583530f2b
Testing is added in a followup change. Change-Id: Ia1ebf0075e9f6976310dff618cb06da928f55a7b
13 lines
584 B
YAML
13 lines
584 B
YAML
- name: Tag image for buildset registry
|
|
command: >-
|
|
{{ container_command }} tag {{ image.repository }}:{{ image_tag }} {{ buildset_registry_alias }}:{{ buildset_registry.port }}/{{ image.repository }}:{{ image_tag }}
|
|
loop: "{{ image.tags | default(['latest']) }}"
|
|
loop_control:
|
|
loop_var: image_tag
|
|
- name: Push tag to buildset registry
|
|
command: >-
|
|
{{ container_command }} push {{ buildset_registry_alias }}:{{ buildset_registry.port }}/{{ image.repository }}:{{ image_tag }}
|
|
loop: "{{ image.tags | default(['latest']) }}"
|
|
loop_control:
|
|
loop_var: image_tag
|