e35c529bac
To deal with things like 502 bad gateway errors. Change-Id: Iaa745394baafcdfedc188f8503b7c7fc9ee92f5b
10 lines
278 B
YAML
10 lines
278 B
YAML
- name: Upload tag to dockerhub
|
|
command: "docker push {{ image.repository }}:change_{{ zuul.change }}_{{ image_tag }}"
|
|
loop: "{{ image.tags | default(['latest']) }}"
|
|
loop_control:
|
|
loop_var: image_tag
|
|
register: result
|
|
until: result.rc == 0
|
|
retries: 3
|
|
delay: 30
|