To be able to start building the container image and publish it to the registry, we will create a new pipeline. For this example, we will make use of the YAML pipeline experience.
Perform the following steps to get started with the pipeline:
- Open you Azure DevOps project and click on Pipelines.
- In the pipelines overview, click on New Pipeline.
- Select Azure Repos Git, choose the correct repository, and then choose the Starter pipeline:
- From the starter pipeline, remove the two dummy script tasks and open the assistant.
- In the assistant, search for the Docker tasks and add the tasks to the pipeline.
- Choose the service ...