Table of contents
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