add the date per request

Signed-off-by: James Strong <strong.james.e@gmail.com>
This commit is contained in:
James Strong 2022-03-16 15:07:38 -04:00
parent 952a6dc22c
commit 0e2447ed0e
No known key found for this signature in database
GPG key ID: 11048BF1C893BC89

View file

@ -8,7 +8,7 @@ steps:
entrypoint: bash
env:
- DOCKER_CLI_EXPERIMENTAL=enabled
- TAG=$SHORT_SHA
- TAG=v$(date "+%Y%m%d")-$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