Compare commits

..

1 Commits

Author SHA1 Message Date
Jonas Plum
06fdae4ab9 fix: adapt goreleaser for cross compilation (#1145) 2025-09-02 21:43:33 +00:00
2 changed files with 10 additions and 8 deletions

View File

@@ -28,10 +28,12 @@ jobs:
registry: ghcr.io registry: ghcr.io
username: "securitybrewery" username: "securitybrewery"
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- uses: goreleaser/goreleaser-action@v6 - name: Run GoReleaser
with: run: |
distribution: goreleaser docker run --rm --privileged \
version: '~> v2' -v ${{ github.workspace }}:/workspace \
args: release --clean -v /var/run/docker.sock:/var/run/docker.sock \
env: -e CGO_ENABLED=1 \
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \
ghcr.io/goreleaser/goreleaser-cross:latest \
release --clean

View File

@@ -6,7 +6,7 @@ before:
builds: builds:
- env: - env:
- CGO_ENABLED=0 - CGO_ENABLED=1
goos: goos:
- linux - linux
- darwin - darwin