From 5c47803d0f0d37cd83dc942a7e1c3ccd8565681a Mon Sep 17 00:00:00 2001 From: James Strong Date: Wed, 16 Mar 2022 15:13:24 -0400 Subject: [PATCH] fix the cloud build Signed-off-by: James Strong --- images/nginx/cloudbuild.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/nginx/cloudbuild.yaml b/images/nginx/cloudbuild.yaml index 6c1f844ec..b5b906a8d 100644 --- a/images/nginx/cloudbuild.yaml +++ b/images/nginx/cloudbuild.yaml @@ -8,7 +8,7 @@ steps: entrypoint: bash env: - DOCKER_CLI_EXPERIMENTAL=enabled - - TAG=v$(date "+%Y%m%d")-$SHORT_SHA + - COMMIT=$SHORT_SHA - BASE_REF=$_PULL_BASE_REF - REGISTRY=gcr.io/k8s-staging-ingress-nginx # default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx @@ -18,7 +18,7 @@ steps: - -c - | gcloud auth configure-docker \ - && make push + && TAG=v$(date "+%Y%m%d")-${COMMIT} make push substitutions: _GIT_TAG: "12345" _PULL_BASE_REF: "master"