diff --git a/.github/workflows/grype.yml b/.github/workflows/grype.yml new file mode 100644 index 0000000..ae8f1bc --- /dev/null +++ b/.github/workflows/grype.yml @@ -0,0 +1,24 @@ +name: "grype" + +on: + push: + branches: ['main'] + tags: ['v*'] + pull_request: + +jobs: + scan-source: + name: scan-source + runs-on: ubuntu-latest + + permissions: + security-events: write + actions: read + contents: read + + steps: + - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + - uses: anchore/scan-action@v3 + with: + path: "." + fail-build: true \ No newline at end of file