I have just created an Azure Container App and I am trying to link it to a private repository on docker.io. It works if I make it pull a public image but not if it's private, even though I specified all the information. I have also used the automatic "continuous deployment" with github (the azure portal basically did everything, which one would assume would work), I entered the same information ( docker.io, username and password and the image tag, all working when I test in console ), the generated github action is able to build and push to docker registry, proving the user and password are good, but it doesn't want to update the container app either.
Here is the latest error I had trying to do it through the github action: The following field(s) are either invalid or missing. Invalid value: "docker.io/pasc32/companio:latest": GET https:: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:pasc32/companio Type:repository]]: template.containers.test.image.
When I try to do it directly from the portal, it'll add a notification at the top, which will turn forever, if I refresh the page nothing's change and the container is back to how it was before, no trace of the notification in the activity log either.
Does anyone have an idea of what the issue it ?
Thank!
This is a known issue and container apps team is working on it.
As a workaround, use registry.hub.docker.com
as the server value instead of docker.io
.