mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 15:20:17 +00:00
chore(workflows): release workflow should attest the efi artifacts
This commit is contained in:
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -20,6 +20,8 @@ jobs:
|
|||||||
name: release
|
name: release
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # Needed to upload release assets.
|
contents: write # Needed to upload release assets.
|
||||||
|
id-token: write # Needed for attestation.
|
||||||
|
attestations: write # Needed for attestations.
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: harden runner
|
- name: harden runner
|
||||||
@@ -39,6 +41,16 @@ jobs:
|
|||||||
- name: 'assemble artifacts'
|
- name: 'assemble artifacts'
|
||||||
run: ./hack/assemble.sh
|
run: ./hack/assemble.sh
|
||||||
|
|
||||||
|
- name: 'attest sprout-x86_64.efi artifact'
|
||||||
|
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
|
||||||
|
with:
|
||||||
|
subject-path: target/assemble/sprout-x86_64.efi
|
||||||
|
|
||||||
|
- name: 'attest sprout-aarch64.efi artifact'
|
||||||
|
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
|
||||||
|
with:
|
||||||
|
subject-path: target/assemble/sprout-aarch64.efi
|
||||||
|
|
||||||
- name: 'generate cultivator token'
|
- name: 'generate cultivator token'
|
||||||
uses: actions/create-github-app-token@bf559f85448f9380bcfa2899dbdc01eb5b37be3a # v3.0.0-beta.2
|
uses: actions/create-github-app-token@bf559f85448f9380bcfa2899dbdc01eb5b37be3a # v3.0.0-beta.2
|
||||||
id: generate-token
|
id: generate-token
|
||||||
|
|||||||
Reference in New Issue
Block a user