CI: nightly registry cleanup - prune hash images not release-tagged nor a branch head #6

Merged
lilleman merged 1 commits from registry-cleanup into main 2026-07-04 09:21:30 +02:00
Owner

Nightly registry-cleanup.yml (cron + manual dispatch) runs registry-cleanup/cleanup.ts in a bare pinned node:24 container: a commit-hash image survives only while its commit is a branch head or carries a vX.Y.Z release tag; untagged sha256:* child manifests no longer referenced by any surviving tag are deleted too (they hold the actual layers). Named tags are never touched. Pure planning functions are unit-tested; the IO shell fails loud (missing env, HTTP errors, empty branch list, empty-page pagination). README retention advice replaced accordingly — the org-level pattern cleanup rule should be removed.

Nightly `registry-cleanup.yml` (cron + manual dispatch) runs `registry-cleanup/cleanup.ts` in a bare pinned `node:24` container: a commit-hash image survives only while its commit is a branch head or carries a `vX.Y.Z` release tag; untagged `sha256:*` child manifests no longer referenced by any surviving tag are deleted too (they hold the actual layers). Named tags are never touched. Pure planning functions are unit-tested; the IO shell fails loud (missing env, HTTP errors, empty branch list, empty-page pagination). README retention advice replaced accordingly — the org-level pattern cleanup rule should be removed.
lilleman added 1 commit 2026-07-04 09:19:25 +02:00
CI: nightly registry cleanup - prune hash images not release-tagged nor a branch head
CI / full-gate (push) Successful in 2m40s
Mirror / github-mirror (push) Successful in 0s
0644ec8f5a
lilleman merged commit 0644ec8f5a into main 2026-07-04 09:21:30 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: larvit/plainpages#6