plabick/ACR Container Purge

Purge containers from your the Azure Container Registry

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
registryThe name of the Azure Container Registry to purge. Case insensitive i.e exampleazureregistryyes
usernameAzure Service Principal Usernameyes
tenantAzure Service Principal Tenantyes
passwordAzure Service Principal Tennant IDyes
repoThe ACR repository to purge containers from. Leave blank to purge from all repositoriesnoall
tag-regexOnly purge containers with tags matching this regex. Leave blank to purge containers with any tagno.*
repo-regexOnly purge containers from ACR repositories matching this regex. Only applicable if `repo` input is unset. Leave blank to purge containers from all repositoriesno.*
days-to-keepDo not purge any containers younger than this7
keepSave this many containers from being purged that otherwise meet all other purge rulesno10
dry-runSpecifies that no data is deleted, but the output is the same as if the command is run without this flag. This parameter is useful for testing a purge command to make sure it does not inadvertently delete data you intend to preservenofalse
delete-untaggedSpecifies that manifests that don't have associated tags (untagged manifests) are deleted.nofalse

no outputs