2020-08-11 18:23:28 +00:00
|
|
|
timeout: 10800s
|
2020-06-23 23:17:16 +00: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 19:02:41 +00:00
|
|
|
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90'
|
2020-06-23 23:17:16 +00:00
|
|
|
entrypoint: bash
|
|
|
|
env:
|
|
|
|
- DOCKER_CLI_EXPERIMENTAL=enabled
|
|
|
|
- BASE_REF=$_PULL_BASE_REF
|
2022-03-28 14:49:23 +00:00
|
|
|
- TAG=$_PULL_BASE_SHA
|
2020-06-23 23:17:16 +00:00
|
|
|
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
|
2022-03-18 17:04:41 +00:00
|
|
|
- HOME=/root
|
2020-06-23 23:17:16 +00:00
|
|
|
args:
|
|
|
|
- -c
|
|
|
|
- |
|
|
|
|
gcloud auth configure-docker \
|
2022-07-26 21:43:11 +00:00
|
|
|
&& cd images/nginx && make push
|
2020-06-23 23:17:16 +00:00
|
|
|
substitutions:
|
|
|
|
_GIT_TAG: "12345"
|
|
|
|
_PULL_BASE_REF: "master"
|
2022-03-28 14:49:23 +00:00
|
|
|
_PULL_BASE_SHA: '12345'
|