Skip to content

Commit

Permalink
fix trivy.yaml ci cd
Browse files Browse the repository at this point in the history
  • Loading branch information
syafiqparadisam committed Sep 2, 2024
1 parent 5977359 commit dc7ead2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Deploy frontend app to dockerhub
- name: Build frontend app to dockerhub
env:
DOCKER_CONTENT_TRUST: 1
uses: docker/build-push-action@v5
Expand All @@ -64,7 +64,7 @@ jobs:
"VITE_PUBLIC_KEY=${{secrets.VITE_PUBLIC_KEY}}"
"VITE_TEMPLATE_ID=${{secrets.VITE_TEMPLATE_ID}}"
- name: Run Trivy vulnerability scanner in fs mode
- name: Run Trivy vulnerability scanner docker container
uses: aquasecurity/[email protected]
with:
scan-type: 'image'
Expand Down
4 changes: 3 additions & 1 deletion trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ format: table
exit-code: 1
severity: CRITICAL
ignore-unfixed: false
vuln-type: 'os, library'
vuln-type:
- os
- library

0 comments on commit dc7ead2

Please sign in to comment.