Skip to content

[CHORE] Prune stale RC and sha256 tags from GHCR #463

@gerchowl

Description

@gerchowl

Question

@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

  1. One-time manual prune of all *-rc* and orphaned sha256-* tags
  2. Automate cleanup as a post-release step (as originally planned in [FEATURE] Add RC publishing and cleanup to devcontainer release workflow #172) so this doesn't accumulate again

Happy to take this on if you agree it should be done.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions