Publish arm image too (#21)

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
This commit is contained in:
6543 committed 2022-09-28 03:12:21 +02:00
1 parent ddf80c66d6
commit 4add961b4c
4 files changed
+25 -9

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
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