fix indent on env (#8352)

* fix indent on env

* revert tag to      - TAG=$_GIT_TAG
This commit is contained in:
James Strong 2022-03-18 13:04:41 -04:00 committed by GitHub
parent 3f19fd646f
commit e51c15160e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,13 +9,14 @@ steps:
env: env:
- DOCKER_CLI_EXPERIMENTAL=enabled - DOCKER_CLI_EXPERIMENTAL=enabled
- BASE_REF=$_PULL_BASE_REF - BASE_REF=$_PULL_BASE_REF
- TAG=$_GIT_TAG
- REGISTRY=gcr.io/k8s-staging-ingress-nginx - REGISTRY=gcr.io/k8s-staging-ingress-nginx
- HOME=/root - HOME=/root
args: args:
- -c - -c
- | - |
gcloud auth configure-docker \ gcloud auth configure-docker \
&& TAG=v$(date "+%Y%m%d")-$(git rev-parse --short HEAD) make push && make push
substitutions: substitutions:
_GIT_TAG: "12345" _GIT_TAG: "12345"
_PULL_BASE_REF: "master" _PULL_BASE_REF: "master"