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Â Â Â Â Â ...