In this section, we are going to publish the Docker image to Azure Container Registry (ACR). We can do this directly from Visual Studio as well. Let's get started:
- Right-click the project file in the Visual Studio Solution Explorer.
- Click Publish.
- In the wizard that opens, select Container Registry, then Create New Azure Container Registry, and select Publish immediately:
- On the next screen, add the following settings and click Create: