2022-03-22 11:23:44 +00:00
|
|
|
timeout: 1200s
|
|
|
|
options:
|
|
|
|
substitution_option: ALLOW_LOOSE
|
|
|
|
# job builds a multi-arch docker image for amd64,arm,arm64 and s390x.
|
2023-04-01 21:33:12 +00:00
|
|
|
machineType: E2_HIGHCPU_8
|
2022-03-22 11:23:44 +00:00
|
|
|
steps:
|
|
|
|
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90
|
|
|
|
entrypoint: bash
|
|
|
|
env:
|
|
|
|
- DOCKER_CLI_EXPERIMENTAL=enabled
|
|
|
|
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
|
|
|
|
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
|
|
|
|
# set the home to /root explicitly to if using docker buildx
|
|
|
|
- HOME=/root
|
|
|
|
args:
|
|
|
|
- -c
|
|
|
|
- |
|
|
|
|
gcloud auth configure-docker \
|
2024-01-15 01:09:13 +00:00
|
|
|
&& cd images/ && make NAME=ext-auth-example-authsvc push
|