We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8921541 commit ccdd041Copy full SHA for ccdd041
1 file changed
.github/workflows/attestations.yml
@@ -18,6 +18,14 @@ jobs:
18
uses: actions/checkout@v4
19
- name: "Install dependencies"
20
run: npm install
21
+ - uses: anchore/sbom-action@v0
22
+ with:
23
+ format: 'spdx-json'
24
+ output-file: 'sbom.spdx.json'
25
+ - uses: actions/attest-sbom@v1
26
27
+ subject-path: 'bin/my-artifact.tar.gz'
28
+ sbom-path: 'sbom.spdx.json'
29
- name: "Build site"
30
run: npm run build
31
- name: "Package the build"
@@ -26,6 +34,17 @@ jobs:
34
uses: actions/attest-build-provenance@v1
35
with:
36
subject-path: "dist.tar.gz"
37
+ - name: "Publish the build"
38
+ uses: actions/upload-artifact@v4
39
40
+ name: sbom
41
+ path: sbom.spdx.json
42
43
44
45
+ name: dist
46
+ path: dist.tar.gz
47
+
48
49
# Deploy job
50
# deploy:
0 commit comments