Setting up a CI pipeline
You are now ready to build a CI pipeline. As part of the demonstration in this section, you will build an nginx
container with a small custom webpage loaded in it. After the container is built, you will push the nginx
container to the container registry you created in the previous section. You will build the CI pipeline gradually over the next 13 steps:
- To start, open the forked GitHub repo and open the folder for
Chapter 15
. In that folder, you will find a couple of files, includingDockerfile
andindex.html
. These files are used to build the custom container. Throughout the example, you will make changes toindex.html
to trigger changes in the GitHub action. Let's have a look at the contents ofindex.html
:1 <html> 2 <head> 3 <title>Version 1</title> 4 </head> 5 <body> 6 ...