Files
shot-crafter-calculator/.gitea/workflows
darroyo ee1363535c
CI / Build Native (push) Successful in 18m38s
fix(ci): add retry loop to docker push (handles Gitea registry timeout)
The Gitea Container Registry responded with 'net/http: timeout
awaiting response headers' midway through the push. The image
uploads ~50MB of layers, and the registry can be slow under load.

Add a push_with_retry() shell function that retries each push up
to 3 times with 15s backoff. Most importantly, it retries for
both the 'latest' and the SHA tag, so a partial failure doesn't
leave the registry in a half-pushed state.

Uses POSIX sh-compatible while loop (no bashisms like {1..3}).
2026-08-12 21:12:22 -04:00
..