mirror of https://github.com/grafana/grafana
Update SBOM GitHub Action (#97374)
* Update SBOM report workflow for improved artifact naming and trigger options * Change to use shared-workflow actionpull/93568/head
parent
5f8ada85fb
commit
ae44451155
@ -1,20 +1,15 @@ |
|||||||
name: syft-sbom-ci |
name: syft-sbom-ci |
||||||
|
|
||||||
on: |
on: |
||||||
release: |
release: |
||||||
types: [created] |
types: [ published ] |
||||||
|
workflow_dispatch: |
||||||
jobs: |
jobs: |
||||||
syft-sbom: |
syft-sbom: |
||||||
|
|
||||||
runs-on: ubuntu-latest |
runs-on: ubuntu-latest |
||||||
|
|
||||||
steps: |
steps: |
||||||
- name: Checkout |
- name: Checkout |
||||||
uses: actions/checkout@v4 |
uses: actions/checkout@v4 |
||||||
|
|
||||||
- name: Anchore SBOM Action |
- name: Anchore SBOM Action |
||||||
uses: anchore/sbom-action@v0.14.2 |
uses: grafana/shared-workflows/actions@syft-sbom-v0.0.1 |
||||||
with: |
with: |
||||||
artifact-name: ${{ github.event.repository.name }}-spdx.json |
artifact-name: ${{ github.event.repository.name }}-spdx.json |
||||||
|
|
||||||
|
Loading…
Reference in new issue