mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Add 4 automatic retries to docker publish GitHub action (#36176)
Seems like this action frequently fails due to network issues, so might as well retry a few times automatically
This commit is contained in:
parent
52425ae20e
commit
0f66641d8e
1 changed files with 4 additions and 2 deletions
|
|
@ -151,8 +151,10 @@ jobs:
|
|||
- name: Tag and push to quay.io
|
||||
run: |
|
||||
for TAG in ${{ steps.docker.outputs.TAG }}; do
|
||||
docker tag fleetdm/fleet:${TAG} quay.io/fleetdm/fleet:${TAG}
|
||||
docker push quay.io/fleetdm/fleet:${TAG}
|
||||
docker tag fleetdm/fleet:${TAG} quay.io/fleetdm/fleet:${TAG}
|
||||
for i in {1..5}; do
|
||||
docker push quay.io/fleetdm/fleet:${TAG} && break || sleep 10
|
||||
done
|
||||
done
|
||||
|
||||
- name: Slack notification
|
||||
|
|
|
|||
Loading…
Reference in a new issue