Setting up continuous deployment for Docker with Azure DevOps and Azure Container Registry
In this section, we will set up a CI pipeline for building containerized applications. We will build and publish Docker images to Azure Container Registry using Azure DevOps to increase the reliability and speed of the deployment.
We will use our solution in GitHub. You can fork or clone it from this repository: https://github.com/didourebai/healthcaresolution.git. We will deploy our previous healthcare solution, which includes an ASP.NET API and two applications using ASP.NET MVC, and follow the steps illustrated in the following figure to deploy the application to Azure Container Registry. We will use Azure DevOps to ensure CI/CD:
Figure 11.1 – Scenario: Build and push a Docker image to Azure Container Registry using Azure DevOps pipelines
Note that we can use Azure Repos instead of a GitHub repository. A Container Registry resource is already created...