Compare commits

...

4 commits

Author SHA1 Message Date
Lefteris Georgiadis
abf6d94149
Merge 4bc8d25cec into f5e6151b14 2025-07-10 01:54:44 +09:00
Aniruddha Kanhere
f5e6151b14
Update artifact path in the backup action (#1292)
* Add artifact backup action

* Fix artifact path
2025-07-09 09:53:13 -07:00
ActoryOu
4bc8d25cec
Merge branch 'main' into main 2025-06-06 10:49:37 +08:00
lefosg
1f23756ed3 sign sbom 2025-06-05 15:40:00 +03:00

View file

@ -96,6 +96,18 @@ jobs:
repo_path: ./local_kernel
source_path: ./
# 1. Install cosign tool
- name: Install Cosign
uses: sigstore/cosign-installer@v3.8.1
# 2. Sign the sbom.spdx file using cosign. Two files are produced: sbom.sig and sbom.crt, stored in the same directory as sbom.spdx
- name: Attest SBOM
working-directory: ./local_kernel
run: |
cosign sign-blob sbom.spdx --output-certificate='sbom.crt' --output-signature='sbom.sig' -y
# The following is a sanity check. After signing, we verify the image to check that everything is OK
cosign verify-blob --signature='sbom.sig' --certificate='sbom.crt' --certificate-identity-regexp=.* --certificate-oidc-issuer-regexp='https://github.com' ./sbom.spdx
- name: commit SBOM file
env:
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
@ -124,7 +136,7 @@ jobs:
with:
# This is dependent on the release script putting this zip file
# in this exact location.
artifact_path: ./tools/.github/scripts/FreeRTOS-KernelV${{ github.event.inputs.version_number }}.zip
artifact_path: ./FreeRTOS-KernelV${{ github.event.inputs.version_number }}.zip
release_tag: ${{ github.event.inputs.version_number }}
- name: Cleanup