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