Skip to content

Commit

Permalink
sbom
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Jul 3, 2024
1 parent 6ef07e9 commit 75080b9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,32 @@ permissions:
checks: write

jobs:
make_sbom:
name: SBOM Generation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: "Install SBOM tool"
run: |
set -ex
curl -Lo sbom-tool https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64 > sbom-tool
chmod +x sbom-tool
shell: bash
- name: "Produce SBOM"
run: |
set -ex
CCF_VERSION=${{ github.ref_name }}
CCF_VERSION=${CCF_VERSION#ccf-}
./sbom-tool generate -b . -bc . -pn CCF -ps Microsoft -nsb https://sbom.microsoft -pv $CCF_VERSION
shell: bash
- name: "Upload SBOM"
uses: actions/upload-artifact@v4
with:
name: manifest
path: _manifest/spdx_2.2/*

release_notes:
name: Release Notes
runs-on: ubuntu-latest
Expand Down

0 comments on commit 75080b9

Please sign in to comment.