mirror of
https://github.com/openziti/zrok.git
synced 2025-06-20 17:58:50 +02:00
add sbom to release artifacts
This commit is contained in:
parent
b3c2a266a1
commit
c25325ea7f
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -275,6 +275,15 @@ jobs:
|
||||
curl -sSLf -o ./automated-release-build/source-${{ github.ref_name }}.tar.gz \
|
||||
https://api.github.com/repos/${{ github.repository }}/tarball/${{ github.ref_name }}
|
||||
|
||||
- name: Build SBOM from Dependency Graph as SPDX JSON
|
||||
shell: bash
|
||||
run: |
|
||||
gh api \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||
/repos/${{ github.repository }}/dependency-graph/sbom \
|
||||
| tee ./automated-release-build/sbom-${{ github.ref_name }}.spdx.json
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: ./automated-release-build
|
||||
|
Loading…
x
Reference in New Issue
Block a user