plabick/ACR Container Purge
Purge containers from your the Azure Container Registry
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| registry | The name of the Azure Container Registry to purge. Case insensitive i.e exampleazureregistry | yes | — |
| username | Azure Service Principal Username | yes | — |
| tenant | Azure Service Principal Tenant | yes | — |
| password | Azure Service Principal Tennant ID | yes | — |
| repo | The ACR repository to purge containers from. Leave blank to purge from all repositories | no | all |
| tag-regex | Only purge containers with tags matching this regex. Leave blank to purge containers with any tag | no | .* |
| repo-regex | Only purge containers from ACR repositories matching this regex. Only applicable if `repo` input is unset. Leave blank to purge containers from all repositories | no | .* |
| days-to-keep | Do not purge any containers younger than this | — | 7 |
| keep | Save this many containers from being purged that otherwise meet all other purge rules | no | 10 |
| dry-run | Specifies 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 preserve | no | false |
| delete-untagged | Specifies that manifests that don't have associated tags (untagged manifests) are deleted. | no | false |
Outputs
no outputs