fix(mirror): iterate all images and fail at end on mirror errors

- mirror sync now continues on individual skopeo failures
- collect and summarize failed images
- return non-zero exit code only after all images were processed
- make GitHub workflow respect mirror sync exit status

https://chatgpt.com/share/6980b558-5fdc-800f-911e-48bbc35a461f
This commit is contained in:
kevinveenbirkenbach committed 2026-02-02 15:45:27 +01:00
1 parent c67e20d06c
commit e7fdaa1d10
2 files changed
+41 -8

No files matched your search

+2 -3
View File
@@ -97,7 +97,7 @@ jobs:
continue-on-error: true
shell: bash
run: |
set +e
set -euo pipefail
# Defaults:
# - Namespace defaults to repo owner (user/org), works for schedule & normal runs
@@ -116,5 +116,4 @@ jobs:
--ghcr-namespace "${GHCR_NAMESPACE}" \
--ghcr-prefix "${GHCR_PREFIX}"
echo ">>> Mirror sync finished (best-effort)"
exit 0
echo ">>> Mirror sync finished."