Skip to content

Commit

Permalink
Update build.yml (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragjn authored Nov 14, 2024
1 parent 9107c3a commit 1d6a308
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ on:
required: false
type: boolean
default: true
image_scan_severity_cutoff:
description: 'Severity cutoff for image scanning'
required: false
type: string
default: 'high'
dockerfile_path:
description: 'Dockerfile for the image to be built'
required: false
Expand Down Expand Up @@ -119,7 +124,7 @@ jobs:
with:
image: ${{ env.IMAGE_ARTIFACT_URL }}:${{ inputs.image_tag }}
fail-build: true
severity-cutoff: high
severity-cutoff: ${{ inputs.image_scan_severity_cutoff }}
output-format: table

- name: Parse extra image tags input
Expand Down

0 comments on commit 1d6a308

Please sign in to comment.