Skip to content

Commit

Permalink
fix: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AdriaCarrera committed Apr 28, 2024
1 parent 0a8e185 commit 8f01e7f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.commit_branch }}
fetch-depth: 0
fetch-tags: true
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
# Docker login
Expand Down Expand Up @@ -51,3 +53,8 @@ jobs:
target_commitish: ${{ github.event.inputs.commit_branch }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run go releaser
run: |
docker run --rm -e CGO_ENABLED -e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \
-v /var/run/docker.sock:/var/run/docker.sock -v $PWD:/go/src/exrp -w /go/src/exrp \
goreleaser/goreleaser-cross:v1.20.2 release --clean --skip-validate

0 comments on commit 8f01e7f

Please sign in to comment.