mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-05 09:18:53 +00:00
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:
2 files changed
+41
-8
No files matched your search
@@ -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."
|
||||
Reference in new issue
Block a user