sigs.k8s.io/gateway-api@v1.0.0/cloudbuild.yaml (about) 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/cloud-builders/docker:20.10.14 11 entrypoint: make 12 env: 13 - DOCKER_CLI_EXPERIMENTAL=enabled 14 - GIT_TAG=$_GIT_TAG 15 - BASE_REF=$_PULL_BASE_REF 16 - COMMIT=$_PULL_BASE_SHA 17 args: 18 - release-staging 19 substitutions: 20 # _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and 21 # can be used as a substitution 22 _GIT_TAG: '12345' 23 # _PULL_BASE_REF will contain the ref that was pushed to to trigger this build - 24 # a branch like 'main' or 'release-0.2', or a tag like 'v0.2'. 25 _PULL_BASE_REF: 'main' 26 # _PULL_BASE_SHA will contain the Git SHA of the commit that was pushed to trigger this build. 27 _PULL_BASE_SHA: 'abcdef'