From cb812a45deff7a64a837cb986bece9c9fb88f5b6 Mon Sep 17 00:00:00 2001 From: Brendan Galloway Date: Thu, 20 Jun 2024 10:42:10 +0200 Subject: [PATCH] fix: incorrect makefile target --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f06ce68..c580b40 100644 --- a/Makefile +++ b/Makefile @@ -34,9 +34,8 @@ linux: GOOS=linux GOARCH=arm64 go build -ldflags "-X \"main.version=$(VERSION_TAG)\"" -o .bin/$(NAME)_linux-arm64 .PHONY: alpine -linux: +alpine: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X \"main.version=$(VERSION_TAG)\"" -o .bin/$(NAME)_alpine-amd64 - cp .bin/$(NAME)_linux-amd64 .bin/$(NAME) GCGO_ENABLED=0 OOS=linux GOARCH=arm64 go build -ldflags "-X \"main.version=$(VERSION_TAG)\"" -o .bin/$(NAME)_alpine-arm64 .PHONY: darwin