From fddc5330b64930c8fb29859bc151b939b6b2cd4e Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 3 Feb 2026 01:54:48 +0100 Subject: [PATCH] fix(ci): fail mirror workflows when image sync fails Remove continue-on-error from mirror jobs and steps so the workflow correctly fails when skopeo image mirroring reports errors. https://chatgpt.com/share/69814760-6940-800f-bad7-0e653c352fff --- .github/workflows/mirror-images-all.yml | 2 -- .github/workflows/mirror-images-missing.yml | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/workflows/mirror-images-all.yml b/.github/workflows/mirror-images-all.yml index 8efff1d45b..96a050d550 100644 --- a/.github/workflows/mirror-images-all.yml +++ b/.github/workflows/mirror-images-all.yml @@ -63,7 +63,6 @@ jobs: sync: name: Mirror images (skopeo, best-effort) runs-on: ubuntu-latest - continue-on-error: true # Copy secrets into env so we can reference them in "if:" (env.* is allowed there) env: @@ -106,7 +105,6 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Mirror images to GHCR (best-effort) - continue-on-error: true shell: bash run: | set -euo pipefail diff --git a/.github/workflows/mirror-images-missing.yml b/.github/workflows/mirror-images-missing.yml index 29ccbd0057..677590d2ba 100644 --- a/.github/workflows/mirror-images-missing.yml +++ b/.github/workflows/mirror-images-missing.yml @@ -41,7 +41,6 @@ jobs: sync: name: Mirror images (only missing) runs-on: ubuntu-latest - continue-on-error: true # Copy secrets/inputs into env so we can reference them in "if:" (env.* is allowed there) env: @@ -84,7 +83,6 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Mirror images to GHCR (only missing, best-effort) - continue-on-error: true shell: bash run: | set -euo pipefail