add short sha to gcloud build and makefiles
Signed-off-by: James Strong <strong.james.e@gmail.com>
This commit is contained in:
parent
26d83d1b20
commit
24e0e29386
21 changed files with 43 additions and 10 deletions
|
|
@ -20,7 +20,9 @@ SHELL=/bin/bash -o pipefail -o errexit
|
|||
DIR:=$(strip $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))))
|
||||
INIT_BUILDX=$(DIR)/../../hack/init-buildx.sh
|
||||
|
||||
TAG ?=v$(shell date +%Y%m%d)-$(shell git rev-parse --short HEAD)
|
||||
SHORT_SHA ?=$(shell git rev-parse --short HEAD)
|
||||
TAG ?=v$(shell date +%Y%m%d)-$(SHORT_SHA)
|
||||
|
||||
REGISTRY ?= local
|
||||
|
||||
IMAGE = $(REGISTRY)/e2e-test-fastcgi-helloserver
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue