From bef72a79b19b7aa252db8e2349f6d48e5e763b7e Mon Sep 17 00:00:00 2001 From: Lachezar Tsonov Date: Mon, 4 Nov 2024 10:49:55 +0200 Subject: [PATCH] Fix makefile not adding suffix to binary, which breaks docker build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e7ee151..74627da 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ build: - GOARCH=amd64 GOOS=linux go build -ldflags "-s -w" -o bin/spot-handler . + GOARCH=amd64 GOOS=linux go build -ldflags "-s -w" -o bin/spot-handler-amd64 . docker build --platform=linux/amd64 -t us-docker.pkg.dev/castai-hub/library/spot-handler:$(VERSION) . push: