Chapter 6: Building Code Using Cloud Build, and Pushing to Container Registry
The last chapter focused on managing source code using Cloud Source Repositories (CSR). CSR provides a fully managed private Git repository, provides one-way sync with GitHub and Bitbucket, and integrates with GCP services. This is the first step in the Continuous Integration (CI) flow.
This chapter will focus on the constructs required to build code, create image artifacts using Cloud Build and manage artifacts using GCP's Container Registry. This forms the crux of the CI workflow as the code is continuously built, artifacts are continuously created and stored in the registry, and application code is continuously deployed as containers.
In this chapter, we're going to cover the following main topics:
- Key terminology – Quick insights into the terminology around Docker and containers
- Understanding the need for automation – Understanding the need for automation by exploring...