Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaidir32 authored Sep 7, 2024
1 parent 2d08703 commit 2a65113
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'mhaidir32/node-js-sample-akash:${{ github.sha }}'
format: template
template: "@/contrib/html.tpl"
output: trivy-report.html
image-ref: 'docker.io/my-organization/my-app:${{ github.sha }}'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'MEDIUM'
continue-on-error: true # allow the build to fail, similar to "allow_failure: true" in GitLab
severity: 'CRITICAL,HIGH'
continue-on-error: true # allow the build to fail, similar to "allow_failure: true" in GitLab

0 comments on commit 2a65113

Please sign in to comment.