Retry pushes to dockerhub

To deal with things like 502 bad gateway errors.

Change-Id: Iaa745394baafcdfedc188f8503b7c7fc9ee92f5b
This commit is contained in:
James E. Blair 2019-09-20 09:50:44 -07:00
parent f740369099
commit e35c529bac

View File

@ -3,3 +3,7 @@
loop: "{{ image.tags | default(['latest']) }}"
loop_control:
loop_var: image_tag
register: result
until: result.rc == 0
retries: 3
delay: 30