Skip to content

chore: add scheduled cleanup for old Docker snapshot images#56

Merged
maff merged 4 commits into
mainfrom
chore/docker-image-cleanup
Mar 14, 2026
Merged

chore: add scheduled cleanup for old Docker snapshot images#56
maff merged 4 commits into
mainfrom
chore/docker-image-cleanup

Conversation

@maff
Copy link
Copy Markdown
Owner

@maff maff commented Mar 14, 2026

Summary

  • Adds a weekly workflow (Sunday 03:00 UTC) to clean up old Docker snapshot images from ghcr.io
  • Uses actions/delete-package-versions@v5 (official GitHub action)
  • Keeps release tags (1, 1.0, 1.0.0, latest) via ignore-versions regex
  • Always keeps the 10 most recent versions regardless
  • Can also be triggered manually via workflow_dispatch

@maff maff merged commit a757e39 into main Mar 14, 2026
4 checks passed
@maff maff deleted the chore/docker-image-cleanup branch March 14, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant