mirror of
https://github.com/hadolint/hadolint-action.git
synced 2025-01-18 21:44:45 +01:00
prettify readme
This commit is contained in:
parent
0a6d062e78
commit
8a428b4815
1 changed files with 17 additions and 28 deletions
43
README.md
43
README.md
|
@ -24,33 +24,22 @@ steps:
|
|||
## Inputs
|
||||
|
||||
| Name | Description | Default |
|
||||
|------------------- |------------------------------------------ |----------------- |
|
||||
| dockerfile | The path to the Dockerfile to be tested | ./Dockerfile |
|
||||
| recursive | Search for specified dockerfile | false |
|
||||
| | recursively, from the project root | |
|
||||
| config | Custom path to a Hadolint config file | ./.hadolint.yaml |
|
||||
| output-file | A sub-path where to save the | |
|
||||
| | output as a file to | |
|
||||
| no-color | Don't create colored output | |
|
||||
| no-fail | Never fail the action | |
|
||||
| verbose | Output more information | |
|
||||
| format | The output format. One of [tty \| json \| | tty |
|
||||
| | checkstyle \| codeclimate \| | |
|
||||
| | gitlab_codeclimate \| codacy \| sarif] | |
|
||||
| failure-threshold | Rule severity threshold for pipeline | info |
|
||||
| | failure. One of [error \| warning \| | |
|
||||
| | info \| style \| ignore] | |
|
||||
| override-error | List of rules to treat with 'error' | |
|
||||
| | severity | |
|
||||
| override-warning | List of rules to treat with 'warning' | |
|
||||
| | severity | |
|
||||
| override-info | List of rules to treat with 'info' | |
|
||||
| | severity | |
|
||||
| override-style | List of rules to treat with 'style' | |
|
||||
| | severity | |
|
||||
| ignore | Space separated list of Hadolint rules to | <none> |
|
||||
| | ignore. | |
|
||||
| trusted-registries | List of urls of trusted registries | |
|
||||
|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------|--------------------|
|
||||
| `dockerfile` | The path to the Dockerfile to be tested | `./Dockerfile` |
|
||||
| `recursive` | Search for specified dockerfile </br> recursively, from the project root | `false` |
|
||||
| `config` | Custom path to a Hadolint config file | `./.hadolint.yaml` |
|
||||
| `output-file` | A sub-path where to save the </br> output as a file to | |
|
||||
| `no-color` | Don't create colored output | |
|
||||
| `no-fail` | Never fail the action | |
|
||||
| `verbose` | Output more information | |
|
||||
| `format` | The output format. One of [`tty` \| `json` \| </br> `checkstyle` \| `codeclimate` \| </br> `gitlab_codeclimate` \| `codacy` \| `sarif`] | `tty` |
|
||||
| `failure-threshold` | Rule severity threshold for pipeline </br> failure. One of [`error` \| `warning` \| </br> `info` \| `style` \| `ignore`] | `info` |
|
||||
| `override-error` | List of rules to treat with `error` severity | |
|
||||
| `override-warning` | List of rules to treat with `warning` severity | |
|
||||
| `override-info` | List of rules to treat with `info` severity | |
|
||||
| `override-style` | List of rules to treat with `style` severity | |
|
||||
| `ignore` | Comma separated list of Hadolint rules to ignore. | <none> |
|
||||
| `trusted-registries` | List of urls of trusted registries | |
|
||||
|
||||
## Hadolint Configuration
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue