Skip to content

Commit

Permalink
Workflow: add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
mcorbin committed Jul 6, 2024
1 parent 139946b commit d1cf9b6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,25 @@ on:
- "*"

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Allow goreleaser to access older tag information.
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
cache: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
args: release --rm-dist
env:
# GitHub sets the GITHUB_TOKEN secret automatically.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish-docker-image:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit d1cf9b6

Please sign in to comment.