Skip to content

Commit

Permalink
try out adding trivy vulnerability scanner
Browse files Browse the repository at this point in the history
in docker-nightly image build
  • Loading branch information
thjaeckle committed Sep 1, 2022
1 parent dda5f9a commit 221af9a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/docker-nightly.yml
Expand Up @@ -138,3 +138,13 @@ jobs:
push: true
tags: |
eclipse/ditto-ui:${{ env.IMAGE_TAG }}
-
name: Run Trivy vulnerability scanner for ditto-connectivity
uses: aquasecurity/trivy-action@master
with:
image-ref: 'docker.io/eclipse/ditto-connectivity:${{ env.IMAGE_TAG }}'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'

0 comments on commit 221af9a

Please sign in to comment.