Skip to content

Clean unused Docker tags from an Artifactory repository.

License

Notifications You must be signed in to change notification settings

GDATASoftwareAG/Clean-Docker-Tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Clean Docker Tags

This PowerShell script shows and deletes unused Docker tags from an JFrog Artifactory Docker registry.

What it does

The script searches for unused Docker tags based on a given date. All Docker tags which haven't been downloaded since the date are presented. If the user wants, he can delete those tags. Per default, the script keeps all "latest" tags and the last three version tags. How many version tags should be kept, can be specified by a parameter.

Usage

Download the script and run it in PowerShell. To show help with examples and explained parameters, run:

Get-Help -detailed ./clean_unused_tags.ps1

Releases

No releases published

Packages

No packages published