Skip to content

Merge pull request #61 from DanHam/respect-context #22

Merge pull request #61 from DanHam/respect-context

Merge pull request #61 from DanHam/respect-context #22

Workflow file for this run

name: goreleaser
on:
push:
tags:
- "*"
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
packages: write
id-token: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- uses: sigstore/cosign-installer@v3
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5.0.0
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}