mirror of
https://github.com/hadolint/hadolint-action.git
synced 2026-07-04 23:51:38 +00:00
Merge branch 'master' into docs_readme_checkout
This commit is contained in:
@@ -15,17 +15,26 @@ Add the following step to your workflow configuration:
|
||||
|
||||
```yml
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: hadolint/hadolint-action@v1.4.0
|
||||
with:
|
||||
dockerfile: Dockerfile
|
||||
- uses: actions/checkout@v2
|
||||
- uses: hadolint/hadolint-action@v1.5.0
|
||||
with:
|
||||
dockerfile: Dockerfile
|
||||
```
|
||||
|
||||
## Inputs
|
||||
|
||||
| Name | Description | Default |
|
||||
|------------ |----------------------------------------- |-------------- |
|
||||
| dockerfile | The path to the Dockerfile to be tested | ./Dockerfile |
|
||||
| Name | Description | Default |
|
||||
|------------------ |------------------------------------------ |----------------- |
|
||||
| dockerfile | The path to the Dockerfile to be tested | ./Dockerfile |
|
||||
| format | The output format. One of [tty | json | | tty |
|
||||
| | checkstyle | codeclimate | | |
|
||||
| | gitlab_codeclimate] | |
|
||||
| ignore | Space separated list of Hadolint rules to | <none> |
|
||||
| | ignore. | |
|
||||
| config | Custom path to a Hadolint config file | ./.hadolint.yaml |
|
||||
| failure-threshold | Rule severity threshold for pipeline | info |
|
||||
| | failure. One of [error | warning | info | | |
|
||||
| | style | ignore] | |
|
||||
|
||||
## Hadolint Configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user