Open Monte-Christo opened 1 year ago
@Monte-Christo so your saying that you got this working by not using this plugin? I'm curious could you post a minimal example. I've got a simple project using a dockerfile and am thinking of converting it to just use dotnet publish to build/push the image to an azure registry but don't see any examples that use dotnet publish as opposed to docker build/docker push
@Monte-Christo so your saying that you got this working by not using this plugin? I'm curious could you post a minimal example. I've got a simple project using a dockerfile and am thinking of converting it to just use dotnet publish to build/push the image to an azure registry but don't see any examples that use dotnet publish as opposed to docker build/docker push
Added @runxc1 as collaborator on Seeman repo. All the info you seek is there.
I am trying to use this code to push a .NET 7 container image to my ACR:
The login to the CR apparently succeeds (completes without error):
but the subsequent publish fails (contents of config.json added to aid debugging):
Apparently, the auth for the ACR is not added to config.json.
If i use
instead of the Azure/docker-login@v1 task, everything works as expected.