mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-04-05 10:18:26 +00:00
Merge pull request #607 from mmiranda96/fix/23202
Create cloudbuild file
This commit is contained in:
21
cloudbuild.yaml
Normal file
21
cloudbuild.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
# See https://cloud.google.com/cloud-build/docs/build-config
|
||||
|
||||
# this must be specified in seconds. If omitted, defaults to 600s (10 mins)
|
||||
timeout: 7200s
|
||||
steps:
|
||||
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:latest'
|
||||
entrypoint: bash
|
||||
env:
|
||||
- PROW_GIT_TAG=$_GIT_TAG
|
||||
- PULL_BASE_REF=$_PULL_BASE_REF
|
||||
- VERSION=$_PULL_BASE_REF
|
||||
args:
|
||||
- -c
|
||||
- |
|
||||
echo "Building/Pushing NPD containers"
|
||||
make push-container
|
||||
substitutions:
|
||||
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
|
||||
# can be used as a substitution
|
||||
_GIT_TAG: 'PLACE_HOLDER'
|
||||
_PULL_BASE_REF: 'master'
|
||||
Reference in New Issue
Block a user