You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CHORE] Prune stale RC and sha256 tags from GHCR #463
@c-vigo Should we prune the stale RC tags (and orphaned sha256-* tags) from ghcr.io/vig-os/devcontainer?
Current State
The GHCR registry currently has 100 tags, broken down as:
Category
Count
Notes
Release tags
12
0.1, 0.2.0, 0.2.1, 0.3.0, 0.3.1 (+ arch variants)
latest
1
RC tags
65
0.3.0-rc1 through 0.3.0-rc3, 0.3.1-rc1 through 0.3.1-rc19 (+ arch variants)
sha256-* tags
22
Orphaned manifest digests
Both 0.3.0 and 0.3.1 have been released as final versions, so all 65 RC tags are stale. The 22 sha256-* tags appear to be orphaned intermediate manifests.
Context
Issue #172 originally scoped automated RC cleanup as part of the release workflow, but the cleanup step was never implemented — only a manual cleanup note exists in the rollback failure message (line 1527 of release.yml).
Proposal
One-time manual prune of all *-rc* and orphaned sha256-* tags
@gerchowl agree. I would make it part of the promote-release.yml workflow. The question remains what to do with GitHub tags as well. In the end they are just that, a tag, the underlying SHA will remain valid forever, and the only tag that must always remain is the final one (which is anyway immutable since it is linked to a release). What do you think?
Activity
c-vigo commentedon Mar 27, 2026
@gerchowl agree. I would make it part of the
promote-release.ymlworkflow. The question remains what to do with GitHub tags as well. In the end they are just that, a tag, the underlying SHA will remain valid forever, and the only tag that must always remain is the final one (which is anyway immutable since it is linked to a release). What do you think?gerchowl commentedon Mar 27, 2026
feat(ci): add one-time GHCR/git RC prune script
feat(ci): add cleanup job to promote-release workflow
test(ci): add promote-release and create-release test assertions
feat(ci): add downstream promote-release template and create-release …
refactor(ci): remove dead downstream RC gate from release.yml
docs(ci): update release documentation and changelog for GHCR/RC cleanup
fix: address Copilot review comments on changelog, usage text, and pa…
chore: remove outdated prune-ghcr-tags script
ci: add GH_REPO for downstream promote-release container jobs and fix…
ci: downstream promote-release, GHCR cleanup, and RC prune (#472)
chore: release 0.3.2 (#477)
fix(ci): remove unknown create-release input from publish-candidate r…
chore: release 0.3.2 (#119)
chore: release 0.3.2 (#122)
chore: release 0.3.2 (#125)
chore: release 0.3.2 (#128)
chore: release 0.3.2 (#486)