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

Get Google Cloud for DevOps Engineers 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.