Skip to content

Commit 1598260

Browse files
committed
fix(ci) slsa generator with tag instead of sha
Signed-off-by: Rafael Passos <rafael@rcpassos.me>
1 parent 8c0d602 commit 1598260

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ jobs:
124124
- name: Generate hashes
125125
id: hash
126126
run: |
127+
cd target/release/
127128
echo "hashes=$(sha256sum $(echo *.zip *.deb *.rpm *.gz ) | base64 -w0)" >> "$GITHUB_OUTPUT"
128129
129130
provenance:
@@ -132,7 +133,7 @@ jobs:
132133
actions: read # To read the workflow path.
133134
id-token: write # To sign the provenance.
134135
contents: write # To add assets to a release.
135-
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@f7dd8c54c2067bafc12ca7a55595d5ee9b75204a # v2.1.0
136+
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0
136137
with:
137138
base64-subjects: "${{ needs.release.outputs.hashes }}"
138139
upload-assets: true

0 commit comments

Comments
 (0)