0
votes

I have a azure app service to host a docker image from out Azure Container Registry.

The full process is as follow:

  • Run Pipeline
  • Run Release pipeline
  • Azure app pulls the latest release from azure container registry

But what happen is that after Each realise, for some reason, the app service tries to pull the image from Docker Hubinstead of pulling from azure Container Registry.

Can somebody help to understand where is the issue here?

1

1 Answers

1
votes

For your issue, I can guess the problem you made, you must set the image with the tag as, for example, nginx:latest. But if you push the image in the ACR and need to pull it from the ACR, you must set the image with the tag as myacr.azurecr.io/nginx:latest. In addition, you also need to configure the credential for your ACR.