4 Commits
Author SHA1 Message Date
Misthios 357bf16479 prune: don't abort when a distro has no versioned tags
Build containers / Compute changes (push) Successful in 3s
Build containers / fedora-cosmic (rawhide) (push) Failing after 58s
Build containers / fedora-remote (44) (push) Successful in 10m43s
Build containers / fedora-cosmic (44) (push) Successful in 13m20s
Build containers / Prune old releases and tags (push) Successful in 27s
fedora-remote has no rawhide.* tags yet, so grep exited non-zero and, under
set -e/pipefail, killed prune-registry.sh before it reported anything. Tolerate
an empty match.
2026-09-28 17:59:50 +02:00
Misthios e4251f4d78 ci: fix prune-registry registry ref case and protect signatures
Build containers / fedora-cosmic (rawhide) (push) Failing after 45s
Build containers / fedora-cosmic (44) (push) Successful in 11m0s
Build containers / Prune old releases (push) Successful in 29s
The registry path is lowercase, so the capitalized owner made skopeo inspect
fail and every cosign .sig tag was deleted. Lowercase the owner and, if no
digest resolves, keep all signature tags instead of deleting them.
2026-09-27 20:28:40 +02:00
Misthios edfa563fd7 ci: make prune-registry.sh executable
Build containers / fedora-cosmic (rawhide) (push) Failing after 46s
Build containers / fedora-cosmic (44) (push) Successful in 11m15s
Build containers / Prune old releases (push) Successful in 29s
2026-09-27 20:15:34 +02:00
Misthios a789cb6669 ci: prune old container registry tags too
Build containers / fedora-cosmic (rawhide) (push) Failing after 47s
Build containers / fedora-cosmic (44) (push) Successful in 11m4s
Build containers / Prune old releases (push) Failing after 21s
Add prune-registry.sh: keeps the moving tag and newest versioned tag per
distro plus their cosign signature tags, deletes the rest via the Gitea
packages API. Wire it into the prune job (uses REGISTRY_TOKEN).
2026-09-27 20:03:12 +02:00