4add961b4c
base image (https://hub.docker.com/_/docker/tags?page=1&name=20.10-dind) do support amd64 and arm64 so we can do too Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/21
7 lines
224 B
Makefile
7 lines
224 B
Makefile
TARGETOS ?= linux
|
|
TARGETARCH ?= amd64
|
|
LDFLAGS := -s -w -extldflags "-static"
|
|
|
|
build:
|
|
CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -ldflags '${LDFLAGS}' -v -a -tags netgo -o docker-buildx ./cmd/docker-buildx
|