https://github.com/hands-lab/dockle-action
Runs dockle as GitHub Action
https://github.com/hands-lab/dockle-action
docker dockle github-actions linter
Last synced: 5 months ago
JSON representation
Runs dockle as GitHub Action
- Host: GitHub
- URL: https://github.com/hands-lab/dockle-action
- Owner: hands-lab
- License: mit
- Created: 2020-08-18T12:05:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-22T03:14:15.000Z (over 5 years ago)
- Last Synced: 2024-09-18T19:47:41.126Z (almost 2 years ago)
- Topics: docker, dockle, github-actions, linter
- Homepage:
- Size: 3.91 KB
- Stars: 6
- Watchers: 8
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dockle Action

- [Usage](#usage)
- [Basic usage](#basic-usage)
- [With optional parameters](#with-optional-parameters)
- [Inputs](#inputs)
## Usage
### Basic usage
```yaml
steps:
- uses: hands-lab/dockle-action@v1
with:
image: hello-world
```
### With optional parameters
```yaml
steps:
- uses: hands-lab/dockle-action@v1
with:
image: hello-world
exit-code: '1'
exit-level: WARN
```
## Inputs
|Name|Type|Required|Default|Description|
|:--:|:--:|:--:|:--:|:--|
|image|string|True||image name|
|exit-code|string|False|'0'|exit code when alerts were found|
|exit-level|string|False|WARN|alert level (INFO, WARN, FATAL)|