Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup release artifact attesting with actions/attest-build-provenance #252

Merged
merged 1 commit into from
Jun 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ jobs:
name: GitHub Release
runs-on: ubuntu-22.04
permissions:
attestations: write # To create GitHub Attestations
contents: write # To create a GitHub Release
id-token: write # To perform keyless signing with cosign for attestations
steps:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
Expand All @@ -80,3 +82,7 @@ jobs:
name: Release ${{ steps.version.outputs.version }}
body: ${{ steps.version.outputs.version }}
artifacts: ./_compiled/*
- name: Attest build provenance
uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2
with:
subject-path: ./_compiled/*