From 88962919e64693eefdb336e509e132dfc33a6a6c Mon Sep 17 00:00:00 2001 From: Manjunath A Kumatagi Date: Tue, 7 Sep 2021 08:08:25 +0530 Subject: [PATCH] Add cloudbuild.yaml file --- cloudbuild.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 cloudbuild.yaml diff --git a/cloudbuild.yaml b/cloudbuild.yaml new file mode 100644 index 000000000..f27b17143 --- /dev/null +++ b/cloudbuild.yaml @@ -0,0 +1,18 @@ +# See https://cloud.google.com/cloud-build/docs/build-config +timeout: 3000s +options: + substitution_option: ALLOW_LOOSE +steps: + - name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20210722-085d930' + entrypoint: make + env: + - DOCKER_CLI_EXPERIMENTAL=enabled + - TAG=$_GIT_TAG + - PULL_BASE_REF=$_PULL_BASE_REF + args: + - release-staging +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: '12345' + _PULL_BASE_REF: 'dev'