From d65b74a7868d503104b1f8cf737044f65dba9724 Mon Sep 17 00:00:00 2001 From: renner <80410025+renner0e@users.noreply.github.com> Date: Sun, 14 Jun 2026 19:12:13 +0200 Subject: [PATCH] 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 --- Justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Justfile b/Justfile index b57ca849..cc81cbae 100644 --- a/Justfile +++ b/Justfile @@ -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"