dlidstrom/DockerHub Cleanup Action

A GitHub Action that cleans up Docker Hub tags using a Python script.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
namespaceDocker Hub namespace/organizationyes
tokenDocker Hub Personal Access Tokenyes
dry_runRun in dry-run mode (set to true to simulate deletion)nofalse
backup_fileBackup file pathnodockerhub_backup.json
retention_daysDays to retain tagsno30
preserve_lastGlobal number of newest tags to preserve if no preservation rules providedno10
skip_reposspace-separated list of repository name prefixes to skipnologspout
preservespace-separated list of preservation rules in the format prefix:number (e.g., prod:10 staging:5)no""
input_jsonPath to a JSON file with repository/tag data (if not pulling from the API)no""
reposspace-separated list of specific repositories to processno""
report_fileReport file pathnocleanup_report.csv

no outputs