lostlink/Docker Hub Cleanup

Clean up old Docker tags from Docker Hub repositories to manage storage and keep repositories organized

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
usernameDocker Hub usernameyes
passwordDocker Hub password or Personal Access Tokenyes
organizationDocker Hub organization/namespace (defaults to username if not specified)no""
repositoriesComma-separated list of repository names to clean upyes
pr-retention-daysNumber of days to retain PR tags (pr-*)no30
sha-retention-daysNumber of days to retain branch SHA tags (main-*, develop-*, etc.)no14
dry-runIf true, only show what would be deleted without actually deletingnotrue
verboseEnable verbose output for debuggingnofalse
protected-tagsComma-separated list of additional tags to protect from deletionno""
custom-patternsJSON string of custom tag patterns and their retention daysno{}
namedescription
deleted-countTotal number of tags deleted
identified-countTotal number of tags identified for deletion
protected-countNumber of tags protected from deletion
summaryJSON summary of the cleanup operation