Skip to content

Commit 393a940

Browse files
authored
Merge pull request #607 from mmiranda96/fix/23202
Create cloudbuild file
2 parents 3c3609b + fd6c80b commit 393a940

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

cloudbuild.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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: 7200s
5+
steps:
6+
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:latest'
7+
entrypoint: bash
8+
env:
9+
- PROW_GIT_TAG=$_GIT_TAG
10+
- PULL_BASE_REF=$_PULL_BASE_REF
11+
- VERSION=$_PULL_BASE_REF
12+
args:
13+
- -c
14+
- |
15+
echo "Building/Pushing NPD containers"
16+
make push-container
17+
substitutions:
18+
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
19+
# can be used as a substitution
20+
_GIT_TAG: 'PLACE_HOLDER'
21+
_PULL_BASE_REF: 'master'

0 commit comments

Comments
 (0)