From b0eaec5bc72ce948716a1c20c1dea34590bb95e5 Mon Sep 17 00:00:00 2001 From: vdbulcke Date: Sat, 25 Mar 2023 17:55:49 +0100 Subject: [PATCH] fix: cosign goreleaser gh workflow --- .github/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f7b2977..04543f2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -36,6 +36,9 @@ jobs: with: go-version-file: go.mod + - name: Install Cosign + uses: sigstore/cosign-installer@main + - name: Login to GitHub Container Registry uses: docker/login-action@v2 @@ -51,7 +54,7 @@ jobs: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ## Cosign ENV Vars