ingress-nginx-helm/images/nginx/cloudbuild.yaml
2020-06-25 13:43:12 -04:00

24 lines
619 B
YAML

timeout: 5400s
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-testimages/gcb-docker-gcloud:v20200619-68869a4
entrypoint: bash
dir: 'images/nginx'
env:
- DOCKER_CLI_EXPERIMENTAL=enabled
- TAG=$_GIT_TAG
- BASE_REF=$_PULL_BASE_REF
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
args:
- -c
- |
gcloud auth configure-docker \
&& pwd \
&& ls -lat \
&& make build push
substitutions:
_GIT_TAG: "12345"
_PULL_BASE_REF: "master"