actions-marketplace-validations/Delete old docker image tags
Delete old docker image tags filtered by substrings and number of tags to keep
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 8, 2021
- License
- None
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/m3ntorship_action-dockerhub-cleanup@82294a9d58ba67a86d1479c43c35df88b9505339 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | dockerhub token see how to create one here https://bit.ly/2FuzP2S | no | — |
| username | dockerhub username | no | — |
| password | dockerhub password | no | — |
| keep-last | how many tags to keep | yes | — |
| user | dockerhub user | yes | — |
| repos | dockerhub repository to delete the tags from | yes | — |
| substrings | set of substrings to match against filterd tags if one of the substrings exists in the tag it will be deleted | no | — |
| force-full-cleanup | A boolean to determine whether to delete all images or not | no | false |
Outputs
| name | description |
|---|---|
| success | status of the deletion |