The build and push of the image in the Docker Hub

In Azure DevOps, we will create a new build definition that will be in Classic design editor mode, and that will point to the source code that contains the following Docker file: https://github.com/PacktPublishing/Learning_DevOps/tree/master/CHAP07/appdocker/Dockerfile.

In this build definition, we will configure the Tasks tab with two steps, in this order:

  • The build and push of the Docker image, as we discussed in the Deploying the container in ACI with CI/CD pipeline section of Chapter 7, Containerizing Your Application with Docker.
  • The publication of the build artifacts, which are the K8S YAML specification files that will be deployed during the release.

The sequences of the tasks that ...

Get Learning DevOps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.