CI: Retry docker push on publish jobs
We have a high number of POST_FAILURE jobs failing on at least
one container push - let's fix that.
Change-Id: I0015dd4d3ffe5b3e1202ebcfde2b2c72c4655b41
(cherry picked from commit 0887d2e789
)
This commit is contained in:
parent
7a9ff37d0c
commit
d40f67f041
|
@ -23,6 +23,9 @@
|
|||
push: yes
|
||||
source: local
|
||||
loop: "{{ docker_host_info.images }}"
|
||||
register: push_status
|
||||
until: push_status.failed is false
|
||||
retries: 5
|
||||
when: kolla_registry == 'dockerhub'
|
||||
|
||||
- block:
|
||||
|
@ -39,4 +42,7 @@
|
|||
repository: "quay.io/{{ item.RepoTags.0 }}"
|
||||
source: local
|
||||
loop: "{{ docker_host_info.images }}"
|
||||
register: push_status
|
||||
until: push_status.failed is false
|
||||
retries: 5
|
||||
when: kolla_registry == 'quay.io'
|
||||
|
|
Loading…
Reference in New Issue