From cad2e666b2e9064a266cf7a843b96c5d7454035d Mon Sep 17 00:00:00 2001 From: mprahl Date: Thu, 6 Jul 2023 09:24:36 -0400 Subject: [PATCH] Standardize the go build command This matches the other GRC components. Signed-off-by: mprahl --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c872c269..5216945a 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,7 @@ dependencies-go: .PHONY: build build: - GOOS=$(GOOS) GOARCH=$(GOARCH) go build -a -tags netgo -o ./build/_output/bin/cert-policy-controller ./main.go + @go build -o ./build/_output/bin/$(IMG) ./main.go # Run against the current locally configured Kubernetes cluster .PHONY: run