Skip to content

Commit 10bc182

Browse files
committed
DEBUG the SBOM tool workflow
1 parent 7d41101 commit 10bc182

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/sca-integration-sbom-tool.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,13 @@ permissions:
1111
contents: read
1212

1313
env:
14-
IMAGE_REFERENCE: "python:3.13.0-slim"
14+
IMAGE_REFERENCE: "alpine:3.17.0"
15+
# IMAGE_REFERENCE: "python:3.13.0-slim"
1516

1617
jobs:
1718
generate-and-load-sbom:
1819
runs-on: ubuntu-24.04
1920
steps:
20-
# - name: Setup .NET
21-
# uses: actions/setup-dotnet@v4
22-
# with:
23-
# dotnet-version: 8.0.x
24-
2521
- name: Download SBOM tool
2622
run: |
2723
curl -Lo $RUNNER_TEMP/sbom-tool https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64
@@ -39,23 +35,17 @@ jobs:
3935
-m sbom-output \
4036
-V Verbose
4137
42-
- name: Verify SBOM Analysis Results in ScanCode.io
43-
shell: bash
44-
run: |
45-
ls -la
46-
ls -la sbom-output
47-
4838
- name: Upload SBOM artifact
4939
uses: actions/upload-artifact@v4
5040
with:
5141
name: sbom-tool-output
52-
path: sbom-output
42+
path: sbom-tool-output
5343

5444
- name: Import SBOM into ScanCode.io
5545
uses: aboutcode-org/scancode-action@main
5646
with:
5747
pipelines: "load_sbom"
58-
inputs-path: "sbom-output/_manifest/spdx_2.2/manifest.spdx.json"
48+
inputs-path: "sbom-tool-output/_manifest/spdx_2.2/manifest.spdx.json"
5949

6050
# - name: Verify SBOM Analysis Results in ScanCode.io
6151
# shell: bash

0 commit comments

Comments
 (0)