ingress-nginx-helm/images/nginx/cloudbuild.yaml
James Strong e51c15160e
fix indent on env (#8352)
* fix indent on env

* revert tag to      - TAG=$_GIT_TAG
2022-03-18 10:04:41 -07:00

22 lines
588 B
YAML

timeout: 10800s
options:
substitution_option: ALLOW_LOOSE
# job builds a multi-arch docker image for amd64,arm,arm64 and s390x.
machineType: N1_HIGHCPU_32
steps:
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90'
entrypoint: bash
env:
- DOCKER_CLI_EXPERIMENTAL=enabled
- BASE_REF=$_PULL_BASE_REF
- TAG=$_GIT_TAG
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
- HOME=/root
args:
- -c
- |
gcloud auth configure-docker \
&& make push
substitutions:
_GIT_TAG: "12345"
_PULL_BASE_REF: "master"