Search code examples
azuredockerjenkinsjenkins-pipelineazure-web-app-service

How to automate Azure web app deployment to pick latest image from azure container


An Azure container registry is setup with a repository.

The Azure WebApp is published with Source specified as the container and the docker image tag is selected in the dropdown.

Using Jenkins the new build is made and the docker image is pushed to container repository in Azure.

But how to ensure the webapp automatically picks the latest image to be deployed.

Currently from the web app's deployment center we need to select the image and the latest pushed tag manually.


Solution

  • Locate your App Service, click Deployment Center, in the Settings tab, enable Continuous Deployment.

    enter image description here

    Documentation