Skip to content

Commit

Permalink
generate SBOM when creating new release
Browse files Browse the repository at this point in the history
Signed-off-by: slayer321 <[email protected]>
  • Loading branch information
slayer321 committed Dec 15, 2022
1 parent 200e90f commit d51c640
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci-release-sbom.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: SBOM

on:
release:
types: [published]

jobs:
sbom:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
- name: Anchore SBOM Action
uses: anchore/[email protected]
with:
format: cyclonedx-json

0 comments on commit d51c640

Please sign in to comment.