Add retries to promote-docker-image
This should make this step more robust to remote failures. Change-Id: I3f3d643ac5285027bda909ac6d55d8959a4b4f79
This commit is contained in:
parent
a5dbe86b4b
commit
61a76f95f0
@ -15,6 +15,9 @@
|
||||
username: "{{ docker_credentials.username }}"
|
||||
password: "{{ docker_credentials.password }}"
|
||||
register: jwt_token
|
||||
delay: 5
|
||||
retries: 3
|
||||
until: jwt_token and jwt_token.status==200
|
||||
- name: Promote image
|
||||
loop: "{{ docker_images }}"
|
||||
loop_control:
|
||||
|
Loading…
x
Reference in New Issue
Block a user