scotgovcbad/Azure Container Registry Cleanup

An action which will clean-up the given Azure Container Registry repository. It will find the date of the n-th most recent container image whose tag contains a given string and purge all container images created before that date.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
azure-credentialsCredentials used to log in to Azureyes
number-to-keepThe number of images matching your tag input which you would like to keepyes3
tagThe tag to be searched for.yes
container-registryThe name of your container registry, the bit that goes in the square brackets of [container-registry].azurecr.ioyes
repoThe repository within the container registryyes
strictnessStrict cleanup will keep only the number of images which match your tag input. Lenient cleanup will keep any images younger than the n-th most recent container image which matches your tag inputyes

no outputs