From 6085730a91b26c34d937b4617cda0f0966078a47 Mon Sep 17 00:00:00 2001 From: Andrey Tuzhilin Date: Sun, 14 Mar 2021 12:09:39 +0300 Subject: [PATCH] fix(Makefile): static-linux mod --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8d2f6c30..936595ea 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ cross: .PHONY: cross static-linux: - env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOFLAGS=-mod=vendor go build -o "dist/helmfile_linux_amd64" -ldflags '-X github.com/roboll/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS} + env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOFLAGS=-mod=readonly go build -o "dist/helmfile_linux_amd64" -ldflags '-X github.com/roboll/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS} .PHONY: static-linux install: @@ -63,7 +63,6 @@ run: image push: image docker push quay.io/${ORG}/helmfile:${TAG} - image/helm3: docker build -f Dockerfile.helm3 -t quay.io/${ORG}/helmfile:helm3-${TAG} .