Update SBOM GitHub Action (#97374)

* Update SBOM report workflow for improved artifact naming and trigger options

* Change to use shared-workflow action
This commit is contained in:
Ethan 2024-12-04 08:40:59 -05:00 committed by GitHub
parent 5f8ada85fb
commit ae44451155
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,20 +1,15 @@
name: syft-sbom-ci
on:
release:
types: [created]
types: [ published ]
workflow_dispatch:
jobs:
syft-sbom:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Anchore SBOM Action
uses: anchore/sbom-action@v0.14.2
uses: grafana/shared-workflows/actions@syft-sbom-v0.0.1
with:
artifact-name: ${{ github.event.repository.name }}-spdx.json
artifact-name: ${{ github.event.repository.name }}-spdx.json