Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Building with Cloud Build

Table of Contents

This repo also contains the commands necessary to build a collector using Cloud Build and publish the container image in Artifact Registry.

Prerequisites

Setup Artifact Registry

First, set up a container registry with:

make setup-artifact-registry

Build the Container Image with Cloud Build

(This command makes use of environment variables defined in the Makefile to name the new registry).

Then build and push the custom collector image to that registry with:

make cloudbuild

The Cloud Build steps are defined in cloudbuild.yaml.