Skip to content

Commit 4141f2b

Browse files
authored
Merge pull request #160 from kubernetes-sigs/cloudbuild
Add cloudbuild.yaml for automated prow builds
2 parents 36f8098 + d5eb66d commit 4141f2b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

cloudbuild.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# See https://cloud.google.com/cloud-build/docs/build-config
2+
timeout: 1800s
3+
options:
4+
substitution_option: ALLOW_LOOSE
5+
machineType: 'N1_HIGHCPU_8'
6+
steps:
7+
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20220609-2e4c91eb7e'
8+
entrypoint: make
9+
env:
10+
- DOCKER_CLI_EXPERIMENTAL=enabled
11+
- TAG=$_GIT_TAG
12+
- PULL_BASE_REF=$_PULL_BASE_REF
13+
- DOCKER_BUILDKIT=1
14+
args:
15+
- release-staging
16+
substitutions:
17+
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
18+
# can be used as a substitution
19+
_GIT_TAG: '12345'
20+
_PULL_BASE_REF: 'main'

0 commit comments

Comments
 (0)