aspire
aspire copied to clipboard
Add integration for AzureContainerRegistry
As part of #8792, we added support for associating a compute environment with a registry. We want to extend this further by allowing users to model container registries as resources in the application. Something like the following.
var builder = DistributedApplicationBuilder.Create();
var registry = builder.AddAzureContainerRegistry("registry");
var cae = builder.AddAzureContainerAppEnvironment()
.WithRegistry(registry);
- [ ] Figure out how to handle creating role assignments between the container apps and the ACR