Tryout trivy vulnerability scanner.
This commit is contained in:
@@ -38,4 +38,14 @@ jobs:
|
||||
ACTIONS_RUNTIME_TOKEN: ''
|
||||
with:
|
||||
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