diff --git a/roles/upload-docker-image/tasks/push.yaml b/roles/upload-docker-image/tasks/push.yaml index 28f54e4ef..878a8bb8e 100644 --- a/roles/upload-docker-image/tasks/push.yaml +++ b/roles/upload-docker-image/tasks/push.yaml @@ -1,5 +1,5 @@ - name: Upload tag to dockerhub - command: "docker push {{ item.repository }}:change_{{ zuul.change }}_{{ image_tag }}" + command: "docker push {{ image.repository }}:change_{{ zuul.change }}_{{ image_tag }}" loop: "{{ image.tags | default(['latest']) }}" loop_control: loop_var: image_tag