ci: clean up old Docker preview images - #2539
Merged
Merged
Conversation
✅ Deploy Preview for viteplus-preview canceled.
|
fengmk2
marked this pull request as ready for review
August 24, 2026 06:32
fengmk2
force-pushed
the
chore/cleanup-preview-images
branch
from
August 24, 2026 06:33
32e4868 to
03a2357
Compare
Brooooooklyn
approved these changes
Aug 25, 2026
fengmk2
force-pushed
the
chore/cleanup-preview-images
branch
from
August 25, 2026 03:28
03a2357 to
374226b
Compare
Merge activity
|
Add a weekly workflow that deletes old Docker preview images from `ghcr.io/voidzero-dev/vite-plus`. The workflow keeps the 10 newest preview versions. It also keeps each preview version for three calendar months. It selects only `pr-<number>` and `pr-<number>-<commit>` tags. It does not select release tags or untagged versions. Preview builds now add a permanent `pr-<number>-<commit>` tag. This tag keeps each preview identifiable when the mutable `pr-<number>` tag moves. Historical untagged versions remain outside this workflow. Maintainers can remove those versions manually. A temporary pull request trigger ran the tag-based cleanup against the live package. The [test run](https://github.com/voidzero-dev/vite-plus/actions/runs/32634499358) found 113 package versions and 45 tagged preview versions. It deleted no versions because no tagged preview was older than three months.
graphite-app
Bot
force-pushed
the
chore/cleanup-preview-images
branch
from
August 25, 2026 04:12
374226b to
119868f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a weekly workflow that deletes old Docker preview images from
ghcr.io/voidzero-dev/vite-plus.The workflow keeps the 10 newest preview versions. It also keeps each preview version for three calendar months. It selects only
pr-<number>andpr-<number>-<commit>tags. It does not select release tags or untagged versions.Preview builds now add a permanent
pr-<number>-<commit>tag. This tag keeps each preview identifiable when the mutablepr-<number>tag moves.Historical untagged versions remain outside this workflow. Maintainers can remove those versions manually.
A temporary pull request trigger ran the tag-based cleanup against the live package. The test run found 113 package versions and 45 tagged preview versions. It deleted no versions because no tagged preview was older than three months.