Skip to main content Link Menu Expand (external link) Document Search Copy Copied
Table of contents
  1. List repository tags
  2. Purge repositories

List repository tags


$RepositoryTags = az acr repository show-tags --name $AzureRegistryName --repository $RepositoryName --output tsv --orderby time_desc

Purge repositories

Sources :

az acr run --cmd "acr purge --filter 'dynamicinventory/configuration-api:.*' --filter 'dynamicinventory/devices-api:.*' --ago 10d --untagged" --registry aksbootstrap /dev/null