-
Notifications
You must be signed in to change notification settings - Fork 135
41 lines (34 loc) · 905 Bytes
/
sbom.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: SBOM
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+*
jobs:
sbom:
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Create SBOM for PMM
uses: anchore/sbom-action@v0
with:
file: go.mod
artifact-name: pmm.spdx.json
- name: Publish SBOM for PMM
uses: anchore/sbom-action/publish-sbom@v0
with:
sbom-artifact-match: ".*\\.spdx\\.json$"
vmproxy:
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Create SBOM for vmproxy
uses: anchore/sbom-action@v0
with:
path: ./vmproxy
artifact-name: vmproxy.spdx.json
- name: Publish SBOM for vmproxy
uses: anchore/sbom-action/publish-sbom@v0
with:
sbom-artifact-match: ".*\\.spdx\\.json$"