ci: Fix wrong directory location (#35) #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
# It will be triggered when a new tag starting with 'v' is pushed | |
# v1.0.0, v1.0.1, ... | |
- 'v*' | |
permissions: | |
contents: write | |
packages: write | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- | |
name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23.1 | |
- | |
name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
distribution: goreleaser | |
version: '~> v2' | |
args: release --clean | |
env: | |
# Pass the GitHub token to GoReleaser | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Pass the registry and image name to GoReleaser | |
KO_DOCKER_REPO: ghcr.io/bluewave-labs/capture |