Skip to content

Commit 685eb10

Browse files
committed
Update makefile
Signed-off-by: haroldsphinx <[email protected]>
1 parent 5cf41b5 commit 685eb10

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

integration/benchnet2/Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
# eventually, DOCKER_TAG will use the git commit hash
22
# this isn't working fully yet so fow now we will specify the explicit Git tag to use as the Docker tag
33
#DOCKER_TAG := $(shell git rev-parse --short HEAD)
4-
FLOW_GO_TAG = v0.28.15
5-
DOCKER_TAG := $(FLOW_GO_TAG)
64
COMMIT_SHA:=$(shell git rev-parse --short=9 HEAD)
75
BRANCH_NAME:=$(shell git rev-parse --abbrev-ref HEAD | tr '/' '-')
86

97

8+
ifeq (${FLOW_GO_TAG},)
9+
FLOW_GO_TAG := ${COMMIT_SHA}
10+
endif
11+
12+
DOCKER_TAG := $(FLOW_GO_TAG)
13+
14+
1015
# default value of the Docker base registry URL which can be overriden when invoking the Makefile
1116
DOCKER_REGISTRY := us-west1-docker.pkg.dev/dl-flow-benchnet-automation/benchnet
1217

0 commit comments

Comments
 (0)