Skip to content

Commit

Permalink
add sbom pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
claudia-at-gepardec committed Jun 28, 2024
1 parent 4b90e7d commit a8d2bb3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/sbom.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: SBOM

on:
push:
branches:
- sbom
workflow_dispatch:

jobs:
build-test-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: checkout

- name: Cache node modules
uses: actions/cache@v1
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Scan current project
uses: anchore/scan-action@v3
with:
path: "."
fail-build: false

0 comments on commit a8d2bb3

Please sign in to comment.