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 f96a860 commit 123ad68Copy full SHA for 123ad68
Makefile
@@ -23,7 +23,8 @@ SHELL = /usr/bin/env bash -o pipefail
23
24
GIT_COMMIT_SHA ?= "$(shell git rev-parse HEAD 2>/dev/null)"
25
GIT_TAG ?= $(shell git describe --tags --dirty --always)
26
-PLATFORMS ?= linux/amd64
+TARGETARCH ?= $(shell go env GOARCH)
27
+PLATFORMS ?= linux/$(TARGETARCH)
28
DOCKER_BUILDX_CMD ?= docker buildx
29
IMAGE_BUILD_CMD ?= $(DOCKER_BUILDX_CMD) build
30
IMAGE_BUILD_EXTRA_OPTS ?=
0 commit comments