-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
efd173f
commit eb4cdb9
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
run: npm pack | ||
- name: Generate provenance statement with package as attestation subject | ||
run: | | ||
sha512=$(shasum -a 512 aenguerrand-examplepackage12-0.4.0.tgz | awk '{print $1}') | ||
sha512=$(shasum -a 256 aenguerrand-examplepackage12-0.4.0.tgz | awk '{print $1}') | ||
npx @npmcli/provenance-cli generate -o provenance-statement.json --subject-name="pkg:npm/%40aenguerrand/[email protected]" --subject-digest="$sha512" | ||
- name: Sign provenance statement | ||
run: npx @sigstore/cli attest ./provenance-statement.json -o provenance.sigstore.json | ||
|