We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29c82e4 commit 2a8a76fCopy full SHA for 2a8a76f
.github/workflows/sca-integration-anchore.yml
@@ -0,0 +1,26 @@
1
+name: Generate SBOM with Anchore (Syft and Grype) and load into ScanCode.io
2
+
3
+on:
4
+ workflow_dispatch:
5
+ pull_request:
6
+ push:
7
+ branches:
8
+ - main
9
10
+permissions:
11
+ contents: read
12
13
+env:
14
+ IMAGE_REFERENCE: "python:3.13.0-slim"
15
16
+jobs:
17
+ generate-and-load-sbom:
18
+ runs-on: ubuntu-24.04
19
+ steps:
20
+ - name: Generate CycloneDX SBOM with Anchore Syft
21
+ uses: anchore/sbom-action@v0
22
+ with:
23
+ image: ${{ env.IMAGE_REFERENCE }}
24
+ format: cyclonedx-json
25
+ output-file: "anchore-report.sbom.json"
26
+ upload-artifact: true
0 commit comments