feat(ci): add more aggressive retries for pulling (#2394)

This should minimize the network flakes we run into when we have to pull
images as part of the many `FROM`s, the default is 3 tries with 2s
delay, which is really low.

I'm not 100% sure it will help us, let's just try it!

See: https://github.com/ublue-os/aurora/issues/2337
This commit is contained in:
renner 2026-06-14 19:12:13 +02:00 committed by GitHub
parent 64ac7b3c51
commit d65b74a786
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -243,6 +243,9 @@ build $image="aurora" $tag="latest" $flavor="main" rechunk="0" ghcr="0" pipeline
PODMAN_BUILD_ARGS=("${BUILD_ARGS[@]}" "${LABELS[@]}" --tag "${image_name}:${tag}" --file Containerfile.in)
# Bump retries to minimize network flakes
PODMAN_BUILD_ARGS+=("--retry=5" "--retry-delay=60s")
# Add GitHub token secret if available (for CI/CD)
if [[ -n "${GITHUB_TOKEN:-}" ]]; then
echo "Adding GitHub token as build secret"