From 00ca071c229f1521fe5fb55e532961fc5c01ec7e Mon Sep 17 00:00:00 2001 From: Mikolaj Pawlikowski Date: Fri, 4 Feb 2022 15:03:56 +0000 Subject: [PATCH] Remove the GO_MOD_ACTION Signed-off-by: Mikolaj Pawlikowski --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c2d5b82..229e61a 100644 --- a/Makefile +++ b/Makefile @@ -29,14 +29,14 @@ run: go run ./cmd/goldpinger/main.go build: - docker build -t $(namespace)$(tag) --build-arg GO_MOD_ACTION=download --target simple -f ./Dockerfile . + docker build -t $(namespace)$(tag) --target simple -f ./Dockerfile . build-vendor: - docker build -t $(namespace)$(tag)-vendor --build-arg GO_MOD_ACTION=vendor --target vendor -f ./Dockerfile . + docker build -t $(namespace)$(tag)-vendor --target vendor -f ./Dockerfile . build-release: - docker buildx build --push --platform linux/amd64,linux/arm64 -t $(namespace)$(tag) --build-arg GO_MOD_ACTION=download --target simple -f ./Dockerfile . - docker buildx build --push --platform linux/amd64,linux/arm64 -t $(namespace)$(tag)-vendor --build-arg GO_MOD_ACTION=vendor --target vendor -f ./Dockerfile . + docker buildx build --push --platform linux/amd64,linux/arm64 --target simple -t $(namespace)$(tag) -f ./Dockerfile . + docker buildx build --push --platform linux/amd64,linux/arm64 --target vendor -t $(namespace)$(tag)-vendor -f ./Dockerfile . version: @echo $(namespace)$(tag)