Skip to content

Charts: fix OBS build #36

Charts: fix OBS build

Charts: fix OBS build #36

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