2020-05-19 17:14:06 -04:00
|
|
|
# See https://cloud.google.com/cloud-build/docs/build-config
|
|
|
|
|
|
2022-12-24 15:51:50 -05:00
|
|
|
timeout: 18000s
|
2020-05-19 17:14:06 -04:00
|
|
|
options:
|
|
|
|
|
substitution_option: ALLOW_LOOSE
|
|
|
|
|
steps:
|
2021-12-12 05:19:59 -08:00
|
|
|
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90'
|
2020-06-04 16:43:13 -04:00
|
|
|
entrypoint: bash
|
2020-05-19 17:14:06 -04:00
|
|
|
env:
|
|
|
|
|
- DOCKER_CLI_EXPERIMENTAL=enabled
|
|
|
|
|
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
|
2020-06-04 17:30:30 -04:00
|
|
|
- REPO_INFO=https://github.com/kubernetes/ingress-nginx
|
2020-08-27 16:31:29 -04:00
|
|
|
- COMMIT_SHA=$_PULL_BASE_SHA
|
|
|
|
|
- BUILD_ID=$BUILD_ID
|
2020-06-04 16:43:13 -04:00
|
|
|
- HOME=/root
|
2020-06-04 17:24:21 -04:00
|
|
|
- USER=root
|
2020-05-19 17:14:06 -04:00
|
|
|
args:
|
2020-06-04 16:43:13 -04:00
|
|
|
- -c
|
|
|
|
|
- |
|
|
|
|
|
gcloud auth configure-docker \
|
|
|
|
|
&& make release
|
2020-05-19 17:14:06 -04:00
|
|
|
substitutions:
|
|
|
|
|
_GIT_TAG: "12345"
|
2021-07-14 15:14:40 -04:00
|
|
|
_PULL_BASE_REF: "main"
|
2020-08-27 16:31:29 -04:00
|
|
|
_PULL_BASE_SHA: '12345'
|