This repo also contains the commands necessary to build a collector using Cloud Build and publish the container image in Artifact Registry.
First, set up a container registry with:
make setup-artifact-registry
(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
.