init sbom action (#56177) (#56375)

(cherry picked from commit ad48cee2bb)

Co-authored-by: Ethan <smithe2413@gmail.com>
This commit is contained in:
Grot (@grafanabot)andEthan authored and GitHub committed 2022-10-05 06:35:50 -04:00
1 parent f7bddd5315
commit 0fb5cae8bf
1 file changed
+20
+20
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