Retry CI image push
All checks were successful
Build and deploy Worker / build (push) Successful in 1m43s

This commit is contained in:
Ruslan Bakiev
2026-05-14 08:54:12 +07:00
parent 53a7cb7cc8
commit f59a730169

View File

@@ -25,7 +25,13 @@ jobs:
- name: Build and push image
run: |
set -euo pipefail
docker buildx build --push --tag "$IMAGE_SHA" --tag "$IMAGE_LATEST" .
for attempt in 1 2 3; do
if docker buildx build --push --provenance=false --tag "$IMAGE_SHA" --tag "$IMAGE_LATEST" .; then
exit 0
fi
sleep "$((attempt * 10))"
done
exit 1
- name: Skip stale deployment
run: |