make/cloudbuild.yaml (8 lines of code) (raw):
# In this directory, run the following command to build this builder.
# $ gcloud builds submit . --config=cloudbuild.yaml
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'gcr.io/$PROJECT_ID/make', '.']
- name: 'gcr.io/$PROJECT_ID/make'
args: ['-v']
images:
- 'gcr.io/$PROJECT_ID/make'
tags: ['cloud-builders-community']