Docker
You're viewing a free preview. Sign in free to read every script.
Why this exists A CI pipeline that tags every build (main a1b2c3d, main e4f5678, dozens a day) fills a registry with images nobody will ever pull again within weeks. Unlike a local Docker host, a registry has no docker…
Registry Retention Cleaner: Keep the Newest N Tags Per Branch, Delete the Rest, Protect Releases
A script that deletes old CI-built image tags from a registry while keeping the newest few per branch and never touching release or latest tags, run against a real registry with real deletes and a real garbage collection that actually frees the disk, including two bugs the demo caught in its own first draft.
Sign in free to read this script, along with the rest of the library.
Sign in free