Skip to content

Commit

Permalink
use gythialy/golang-cross for snapshot builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wiesenbauer committed Nov 22, 2022
1 parent 188cfa4 commit 24b3ec5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 24b3ec5

Please sign in to comment.