Skip to content

Commit

Permalink
Update release Workflow
Browse files Browse the repository at this point in the history
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
  • Loading branch information
egibs committed Jun 9, 2024
1 parent f8ac953 commit 1b551f3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ on:
- '*'

permissions:
contents: read
id-token: write
actions: read
id-token: write
contents: write

jobs:
build:
Expand All @@ -28,14 +29,10 @@ jobs:
id: hash
run: |
set -euo pipefail
echo "hashes=$(sha256sum rsd | base64 -w0)" >> "$GITHUB_OUTPUT"
echo "hashes=$(sha256sum ./rsd | base64 -w0)" >> "$GITHUB_OUTPUT"
provenance:
needs:
- build
permissions:
actions: read
id-token: write
contents: write
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@5a775b367a56d5bd118a224a811bba288150a563
with:
base64-subjects: "${{ needs.build.outputs.hashes }}"
Expand Down

0 comments on commit 1b551f3

Please sign in to comment.