From 24b3ec5c2f27d7edebf8dbea5b5955858220c5e4 Mon Sep 17 00:00:00 2001 From: Michael Wiesenbauer Date: Mon, 21 Nov 2022 11:13:36 +0100 Subject: [PATCH] use gythialy/golang-cross for snapshot builds --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e22ed9708..c27357507 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,11 @@ __check_defined = \ .PHONY: snapshot snapshot: - docker run --rm -v $(PWD):/workdir -w /workdir cbroglie/goreleaser-cgo:1.12.12-musl goreleaser --rm-dist --snapshot --skip-publish + docker run --rm --privileged \ + -v $(PWD):/cross \ + -v /var/run/docker.sock:/var/run/docker.sock \ + -w /cross \ + ghcr.io/gythialy/golang-cross:v1.18 --rm-dist --snapshot --skip-publish .PHONY: github-release github-release: