Hi,
I'm trying to build and push images to an Azure Container Registry without having docker as an explicit dependency. The image is being built correctly, but pushing it to a remote registry is not working without an explicit docker login
.
Ideally I would like to be able to auth and push the image to an ACR by using:
- the
az login
and az acr login -n <registry>
commands locally
- a managed identity in the ADO build agents
Any roadmap or potential workarounds for using the Azure Default Credentials to directly push to a private ACR specified by the <ContainerRegistry>$(registryName)</ContainerRegistry>
property during dotnet publish
?