diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 56ec80b..2d4f9fe 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -31,8 +31,9 @@ jobs: - name: Run GoReleaser run: | docker run --rm --privileged \ - -v ${{ github.workspace }}:/workspace \ + -v `pwd`:/go/src/github.com/SecurityBrewery/catalyst \ -v /var/run/docker.sock:/var/run/docker.sock \ + -w /go/src/github.com/SecurityBrewery/catalyst \ -e CGO_ENABLED=1 \ -e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \ ghcr.io/goreleaser/goreleaser-cross:latest \