We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4187366 commit a96abe7Copy full SHA for a96abe7
Makefile
@@ -36,7 +36,7 @@ REV=$(shell git describe --long --tags --match='v*' --dirty 2>/dev/null || git r
36
37
build-%:
38
mkdir -p bin
39
- CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/$* ./cmd/$*
+ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/$* ./cmd/$*
40
41
container-%: build-%
42
docker build -t $(REGISTRY_NAME):$(IMAGE_TAG) -f package/docker/Dockerfile --label revision=$(REV) .
0 commit comments