From 6a478babee532421527955e942d8cb4aee1e7af1 Mon Sep 17 00:00:00 2001 From: Thibault NORMAND Date: Mon, 7 Feb 2022 10:23:44 +0100 Subject: [PATCH] chore(ci): fix provenance generation. --- .github/workflows/github-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index b4182983..def2163a 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -41,7 +41,7 @@ jobs: id: create-checksum run: | cd .dist - sha512sum * > checksum.txt + sha256sum * > checksum.txt - uses: sigstore/cosign-installer@main - @@ -61,7 +61,7 @@ jobs: with: command: generate subcommand: files - arguments: --artifact-path .dist --output-path '.dist/provenance.json' --tag-name ${{ github.ref_name }} + arguments: --artifact-path .dist --output-path '.dist/provenance.json' --tag-name cmd/harp/v${{ github.event.inputs.release }} env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" -