From the course: Docker on Azure (2019)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Automated container builds
- [Instructor] So with a Git repository of our code, and a Docker image registry for our Containers, we will now want to link the two together. We should automatically be able ta build this code and push it into the registry. We can do that with Azure DevOps pipelines function. Create a new pipeline, and we'll still use the classic editor. It simplifies the process of seeing this visually. We're going to select the defaults, because these are the only repos that exist in the master branch. We're going to go head and build a Docker Container. Let's see, the first thing we can do is adjust the build image process. We're going to Build an Image. We do want to push into the Azure Container Registry. Let's go head and select our subscription. We're already connected here. Refresh this so that we can actually find our registry. Actions need to be Build an Image. We're going to look for the Dockerfile to basically build off…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
From app to containerized app5m 16s
-
(Locked)
Create an Azure Container Registry2m 5s
-
(Locked)
Use ACR locally3m 47s
-
(Locked)
Connect Azure Repos with ACR3m 53s
-
(Locked)
Automated container builds3m 28s
-
(Locked)
Enable CI trigger2m 20s
-
(Locked)
Challenge: Update a container26s
-
(Locked)
Solution: Commit a code change2m 17s
-
-
-
-
-
-