Skip to content

Commit

Permalink
improved Trivy test
Browse files Browse the repository at this point in the history
  • Loading branch information
agg3fe committed Aug 28, 2023
1 parent 4b718d0 commit 0fa6b68
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,10 @@ jobs:
- name: Build JAR
run: mvn clean package

- name: Build Image
run: docker build -t registry -f ./backend/Dockerfile .

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: registry
image-ref: "tractusx/sldt-digital-twin-registry:latest"
# ignore-unfixed: true
exit-code: "1"
hide-progress: false
Expand Down

0 comments on commit 0fa6b68

Please sign in to comment.