File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ # See https://cloud.google.com/cloud-build/docs/build-config
2
+
3
+ # this must be specified in seconds. If omitted, defaults to 600s (10 mins)
4
+ timeout : 1200s
5
+ # this prevents errors if you don't use both _GIT_TAG and _PULL_BASE_REF,
6
+ # or any new substitutions added in the future.
7
+ options :
8
+ substitution_option : ALLOW_LOOSE
9
+ steps :
10
+ - name : gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20220609-2e4c91eb7e
11
+ entrypoint : make
12
+ env :
13
+ - REGISTRY=gcr.io/k8s-staging-cloud-provider-os
14
+ - VERSION=$_GIT_TAG
15
+ args :
16
+ - upload-images
17
+ substitutions :
18
+ # _GIT_TAG will be filled with a git-based tag for the image, of the form
19
+ # vYYYYMMDD-hash, and can be used as a substitution
20
+ _GIT_TAG : ' 12345'
21
+ # _PULL_BASE_REF will contain the ref that was pushed to to trigger this
22
+ # build - a branch like 'master' or 'release-0.2', or a tag like 'v0.2'.
23
+ _PULL_BASE_REF : ' master'
You can’t perform that action at this time.
0 commit comments