Skip to content

Commit 24b3ec5

Browse files
author
Michael Wiesenbauer
committed
use gythialy/golang-cross for snapshot builds
1 parent 188cfa4 commit 24b3ec5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ __check_defined = \
4848

4949
.PHONY: snapshot
5050
snapshot:
51-
docker run --rm -v $(PWD):/workdir -w /workdir cbroglie/goreleaser-cgo:1.12.12-musl goreleaser --rm-dist --snapshot --skip-publish
51+
docker run --rm --privileged \
52+
-v $(PWD):/cross \
53+
-v /var/run/docker.sock:/var/run/docker.sock \
54+
-w /cross \
55+
ghcr.io/gythialy/golang-cross:v1.18 --rm-dist --snapshot --skip-publish
5256

5357
.PHONY: github-release
5458
github-release:

0 commit comments

Comments
 (0)