Skip to content

Commit

Permalink
FEAT: add error level
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Jan 4, 2024
1 parent ce25ea6 commit 841d0e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-style/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ inputs:
required: false
default: false

error-level:
description: >
Fail action based on hadolint output (-1: never, 0: error, 1: warning, 2: info)
required: false
default: 2

runs:
using: "composite"
steps:
Expand Down Expand Up @@ -87,3 +93,4 @@ runs:
with:
dockerfile: "**/Dockerfile"
# recursive: ${{ inputs.recursive }}
error_level: ${{ inputs.error-level }}

0 comments on commit 841d0e6

Please sign in to comment.