File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -197,20 +197,16 @@ PACKAGE_NAME:=github.com/realiotech/realio-network
197197GOLANG_CROSS_VERSION = v1.22
198198GOPATH ?= '$(HOME ) /go'
199199release-dry-run :
200- @mkdir -p /tmp/go-cache
201200 docker run \
202201 --rm \
203202 --privileged \
204203 -e CGO_ENABLED=1 \
205- -e GOCACHE=/tmp/go-cache \
206- -e GOMODCACHE=/tmp/go-cache/mod \
207204 -v /var/run/docker.sock:/var/run/docker.sock \
208205 -v ` pwd` :/go/src/$(PACKAGE_NAME ) \
209- -v /tmp/go-cache:/tmp/go-cache \
206+ -v ${GOPATH} /pkg:/go/pkg \
210207 -w /go/src/$(PACKAGE_NAME ) \
211208 ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
212209 --clean --skip=validate --skip=publish --snapshot
213- @rm -rf /tmp/go-cache
214210
215211release :
216212 @if [ ! -f " .release-env" ]; then \
You can’t perform that action at this time.
0 commit comments