mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Fix cross-compile typo in Makefile
The makefile target for the output directory was hardcoded to $(ARCH), independent of the actual target input in the makefile. This fixes that.
This commit is contained in:
parent
0d220eafef
commit
ec335c0777
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -33,7 +33,7 @@ all: $(OUT_DIR)/$(ARCH)/adapter
|
|||
|
||||
src_deps=$(shell find pkg cmd -type f -name "*.go")
|
||||
$(OUT_DIR)/%/adapter: vendor $(src_deps)
|
||||
CGO_ENABLED=0 GOARCH=$* go build -tags netgo -o $(OUT_DIR)/$(ARCH)/adapter github.com/directxman12/k8s-prometheus-adapter/cmd/adapter
|
||||
CGO_ENABLED=0 GOARCH=$* go build -tags netgo -o $(OUT_DIR)/$*/adapter github.com/directxman12/k8s-prometheus-adapter/cmd/adapter
|
||||
|
||||
docker-build: vendor
|
||||
cp deploy/Dockerfile $(TEMP_DIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue