Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit a4c63e5

Browse files
committed
Set build arg values in docker.Makefile
Sets the values of the --build-args passed through to docker build from vars.mk when using make with docker.Makefile. This will correctly set the TAG so that the binary versions are set as when using the standard Makefile directly Signed-off-by: Nick Adcock <[email protected]>
1 parent 6a9e04b commit a4c63e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker.Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ E2E_CROSS_CTNR_NAME := $(BIN_NAME)-e2e-cross-$(TAG)
1414
COV_CTNR_NAME := $(BIN_NAME)-cov-$(TAG)
1515
SCHEMAS_CTNR_NAME := $(BIN_NAME)-schemas-$(TAG)
1616

17-
BUILD_ARGS=--build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY
17+
BUILD_ARGS=--build-arg EXPERIMENTAL=$(EXPERIMENTAL) --build-arg TAG=$(TAG) --build-arg COMMIT=$(COMMIT) --build-arg ALPINE_VERSION=$(ALPINE_VERSION) --build-arg GOPROXY=$(GOPROXY)
1818

1919
PKG_PATH := /go/src/$(PKG_NAME)
2020

0 commit comments

Comments
 (0)