2020-08-11 14:23:28 -04:00
|
|
|
timeout: 10800s
|
2020-06-23 19:17:16 -04:00
|
|
|
options:
|
|
|
|
|
substitution_option: ALLOW_LOOSE
|
|
|
|
|
# job builds a multi-arch docker image for amd64,arm,arm64 and s390x.
|
|
|
|
|
machineType: N1_HIGHCPU_32
|
|
|
|
|
steps:
|
2022-03-17 15:02:41 -04:00
|
|
|
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90'
|
2020-06-23 19:17:16 -04:00
|
|
|
entrypoint: bash
|
|
|
|
|
env:
|
|
|
|
|
- DOCKER_CLI_EXPERIMENTAL=enabled
|
|
|
|
|
- BASE_REF=$_PULL_BASE_REF
|
2022-03-28 10:49:23 -04:00
|
|
|
- TAG=$_PULL_BASE_SHA
|
2020-06-23 19:17:16 -04:00
|
|
|
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
|
2022-03-18 13:04:41 -04:00
|
|
|
- HOME=/root
|
2020-06-23 19:17:16 -04:00
|
|
|
args:
|
|
|
|
|
- -c
|
|
|
|
|
- |
|
|
|
|
|
gcloud auth configure-docker \
|
2022-07-27 05:43:11 +08:00
|
|
|
&& cd images/nginx && make push
|
2020-06-23 19:17:16 -04:00
|
|
|
substitutions:
|
|
|
|
|
_GIT_TAG: "12345"
|
|
|
|
|
_PULL_BASE_REF: "master"
|
2022-03-28 10:49:23 -04:00
|
|
|
_PULL_BASE_SHA: '12345'
|