Skip to content

Migrate release 0.3 to gha #2

Migrate release 0.3 to gha

Migrate release 0.3 to gha #2

Workflow file for this run

name: goreleaser
on:
push:
pull_request:
permissions:
contents: write
jobs:
ci:
uses: ./.github/workflows/ci.yaml
permissions:
contents: read
goreleaser:
needs: [
ci
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v5
with:
go-version: 1.22
- name : Package release helm charts
run : make package-helm
- run : mkdir -p ./build/artifacts/ && mv -v ./dist/artifacts/ ./build/
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}