From e51c15160e9b4d641fc9e289601676e1adc70e19 Mon Sep 17 00:00:00 2001 From: James Strong Date: Fri, 18 Mar 2022 13:04:41 -0400 Subject: [PATCH] fix indent on env (#8352) * fix indent on env * revert tag to - TAG=$_GIT_TAG --- images/nginx/cloudbuild.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/images/nginx/cloudbuild.yaml b/images/nginx/cloudbuild.yaml index 3a646fc88..0b81aa8d6 100644 --- a/images/nginx/cloudbuild.yaml +++ b/images/nginx/cloudbuild.yaml @@ -9,13 +9,14 @@ steps: env: - DOCKER_CLI_EXPERIMENTAL=enabled - BASE_REF=$_PULL_BASE_REF + - TAG=$_GIT_TAG - REGISTRY=gcr.io/k8s-staging-ingress-nginx - - HOME=/root + - HOME=/root args: - -c - | gcloud auth configure-docker \ - && TAG=v$(date "+%Y%m%d")-$(git rev-parse --short HEAD) make push + && make push substitutions: _GIT_TAG: "12345" _PULL_BASE_REF: "master"