Skip to content

Commit 4f7ac55

Browse files
committed
sign
Signed-off-by: Anas Nashif <[email protected]>
1 parent a7a775b commit 4f7ac55

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
runs-on: ubuntu-24.04
1515
permissions:
1616
contents: write # to create GitHub release entry
17+
id-token: write
1718
steps:
1819
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1920
with:
@@ -57,6 +58,12 @@ jobs:
5758
draft: true
5859
prerelease: true
5960

61+
62+
# This step uses 'gh-action-sigstore-python' to sign the file designated in the inputs field.
63+
- uses: sigstore/[email protected]
64+
with:
65+
inputs: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
66+
6067
- name: Upload Release Assets (SPDX)
6168
id: upload-release-asset
6269
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
@@ -67,14 +74,3 @@ jobs:
6774
asset_path: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
6875
asset_name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
6976
asset_content_type: text/plain
70-
71-
- name: Upload Release Assets (SBOM)
72-
id: upload-release-asset-sbom
73-
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
74-
env:
75-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76-
with:
77-
upload_url: ${{ steps.create_release.outputs.upload_url }}
78-
asset_path: zephyr-sbom-${{ steps.get_version.outputs.VERSION }}.spdx
79-
asset_name: zephyr-sbom-${{ steps.get_version.outputs.VERSION }}.spdx
80-
asset_content_type: text/plain

0 commit comments

Comments
 (0)