How to use Azure Pipeline to "Push" a docker image to Azure Container Registry?


Here is my scenario/usecase:

Pull a docker image from docker hub and push it to Azure Container Registry. Note, I do not have to build the docker image

I am following this documentation but some things are not clear

Here is the azure pipeline yaml snippet

- task: [email protected]
  displayName: Push image
    containerRegistry: |
    repository: $(imageName)
    command: push
    tags: |

What i don’t understand is, where is the link between Azure Container Registry and Docker Hub such that it satisfies the link between source and destination?

Could someone please clarify and provide me a working yaml snippet to get my job done?


Source: Docker Questions


Leave a Reply

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us