Skip to content

Commit

Permalink
add syft to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmehl committed Sep 19, 2024
1 parent 2693255 commit 0dcebdf
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/selftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@ on:
pull_request:

jobs:
# Generate SBOM using cdxgen, but with NPMJS package, not Docker container
sbom-gen:
# Generate SBOM using syft
sbom-gen-cdxgen:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: echo $GITHUB_PATH
- run: echo $PATH
- run: ls -l ~/.local/bin

# Generate SBOM using cdxgen (npm package)
sbom-gen-cdxgen:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand All @@ -29,7 +38,7 @@ jobs:
# Enrich the generated SBOM
sbom-enrich:
runs-on: ubuntu-22.04
needs: sbom-gen
needs: sbom-gen-cdxgen
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/poetrybuild
Expand Down

0 comments on commit 0dcebdf

Please sign in to comment.