init sbom action (#56177) (#56198)

(cherry picked from commit ad48cee2bb)

Co-authored-by: Ethan <smithe2413@gmail.com>
This commit is contained in:
Grot (@grafanabot) 2022-10-03 18:05:22 +02:00 committed by GitHub
parent 483d30730f
commit a16104d123
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.github/workflows/sbom-report.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: syft-sbom-ci
on:
release:
types: [created]
jobs:
syft-sbom:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Anchore SBOM Action
uses: anchore/sbom-action@v0.12.0
with:
artifact-name: ${{ github.event.repository.name }}-spdx.json