Skip to content

Commit

Permalink
ci: release: enable docker-in-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
turtleDev committed Jul 6, 2024
1 parent 50e7b09 commit 3d52128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_TOKEN }}
run: |
BUILD_CMD='git config --global --add safe.directory /build/src && cd /build/src && goreleaser release --clean'
echo $BUILD_CMD | docker run -e GITHUB_TOKEN="${GITHUB_TOKEN}" -i --entrypoint /bin/bash -v "$PWD/:/build/src" goreleaser/goreleaser-cross:v1.22.4
echo $BUILD_CMD | docker run -v /var/run/docker.sock:/var/run/docker.sock -e GITHUB_TOKEN="${GITHUB_TOKEN}" -i --entrypoint /bin/bash -v "$PWD/:/build/src" goreleaser/goreleaser-cross:v1.22.4

0 comments on commit 3d52128

Please sign in to comment.