Skip to content

Commit

Permalink
Add ignore_trivy to continue on error
Browse files Browse the repository at this point in the history
  • Loading branch information
walzph committed Feb 12, 2024
1 parent be6d9cb commit 0261a99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ inputs:
trivy_severity:
description: "Severities of vulnerabilities to scanned for and displayed."
default: "CRITICAL,HIGH"
ignore_trivy:
description: "Whether to ignore Trivy vulnerabilities."
default: "false"
dockerhub_platforms:
description: "Platforms passed to DockerHub build and push action."
default: "linux/amd64,linux/arm64"
Expand Down Expand Up @@ -114,6 +117,7 @@ runs:
ignore-unfixed: true
vuln-type: "os,library"
severity: ${{ inputs.trivy_severity }}
continue-on-error: ${{ inputs.ignore_trivy }}

- name: Image digest
shell: bash
Expand Down

0 comments on commit 0261a99

Please sign in to comment.