Tryout trivy vulnerability scanner.
This commit is contained in:
@@ -39,3 +39,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tags: cs-git.ddnss.de/arbeitsschutz-ulm/website:master
|
tags: cs-git.ddnss.de/arbeitsschutz-ulm/website:master
|
||||||
push: true
|
push: true
|
||||||
|
|
||||||
|
- name: Run Trivy vulnerability scanner
|
||||||
|
uses: aquasecurity/trivy-action@master
|
||||||
|
with:
|
||||||
|
image-ref: 'cs-git.ddnss.de/arbeitsschutz-ulm/website:master'
|
||||||
|
format: 'sarif'
|
||||||
|
output: 'trivy-results.sarif'
|
||||||
|
env:
|
||||||
|
TRIVY_USERNAME: ${{ env.USER }}
|
||||||
|
TRIVY_PASSWORD: ${{ env.PASS }}
|
||||||
|
|||||||
Reference in New Issue
Block a user