Cloud Build is a service that executes your pipelines on Google Cloud and builds your artifacts such as Docker containers or Java archives, from a simple Dockerfile to a complex cloudbuild.yaml
specifications. Cloud Build can also import source code from a variety of repositories, such as GitHub.
Please, replace giacchetta-consulting
for your own Google Cloud Project Name
- Copy all files here shown to your local environment.
- Execute
$ gcloud builds submit --config cloudbuild.yaml .
- Check how it runs on
https://console.cloud.google.com/cloud-build/builds?project=giacchetta-consulting
- Delete source artifacts
$ gsutil rm -r gs://giacchetta-consulting_cloudbuild
- Delete build artifacts
$ gcloud container images delete us-east1-docker.pkg.dev/giacchetta-consulting/docker-artifacts/hello-word --force-delete-tags --quiet