Azure / azure-cli

Azure Command-Line Interface
MIT License
3.91k stars 2.87k forks source link

Azure Container Registry Cache Rule #29125

Open pareion opened 3 weeks ago

pareion commented 3 weeks ago

Related command az acr cache create

Is your feature request related to a problem? Please describe. We're currently using Azure Container Registry, but all our external HelmCharts and Dockerfiles are either uploaded through a pipeline or manually. Having them all as cache rules would be nice, so we didn't require any pipelines or manual intervention.

Describe the solution you'd like Support adding other external URLs to the Cache Rule on Azure Container Registries. Right now, it's limited to a set of docker registries, but it would be great if you could pull all kinds of artefacts instead of only docker artefacts.

Right now, we use external artefacts from the following set of external providers

Would love to be able to use these as external providers for the cache rules instead of being limited to only docker registries.

Describe alternatives you've considered We have an alternative, but the alternative is doing it manually or through the pipelines in Azure DevOps.

Additional context

yonzhan commented 3 weeks ago

Thank you for opening this issue, we will look into it.