ingress-nginx-helm/images/custom-error-pages/cloudbuild.yaml
James Strong e8097d8b8f
fix gcloud builds
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-07-20 21:04:21 -04:00

17 lines
580 B
YAML

timeout: 1800s
options:
substitution_option: ALLOW_LOOSE
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 \
&& cd images/custom-error-pages && make push