Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The process to use Azure pipeline to apply an image from ACR to App service is as follows:

  1. Create an Azure Pipeline: First, create an Azure Pipeline by selecting the appropriate template such as the "Deploy a Docker container to Azure Web App" template.

  2. Configure Azure Pipeline: Configure the pipeline by providing the necessary information such as the repository URL, branch, and Dockerfile path. Additionally, set the appropriate values for other properties such as Azure Subscription, resource group, and container registry name.

  3. Set the Dockerfile path: Set the Dockerfile path to the Dockerfile in the repository to build the image.

  4. Publish the Docker image: Publish the Docker image to Azure Container Registry (ACR) by configuring the "Docker" task in the pipeline.

  5. Deploy the image: Configure and run the "Deploy" task to deploy the image to the app service on Azure.

  6. Monitor the deployment: Monitor the deployment status and debug any issues, if necessary.

Overall, the Azure pipeline provides a powerful solution to automate the deployment process and manage the lifecycle of Docker images and App services easily.