An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Dockle Action

![GitHub](https://img.shields.io/github/license/hands-lab/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)|