Skip to content

Disable service triggers on staging (#498) #34

Disable service triggers on staging (#498)

Disable service triggers on staging (#498) #34

Workflow file for this run

name: goreleaser
on:
push:
tags:
- 'v*'
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod
- name: Install cosign
uses: sigstore/[email protected]
- name: Install syft
uses: anchore/sbom-action/download-syft@v0
- uses: actions/[email protected]
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-release-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-release-go-${{ hashFiles('**/go.sum') }}
- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COSIGN_EXPERIMENTAL: 1