Skip to content
search

GitHub Action

Runs dockle

v1 Latest version

Runs dockle

search

Runs dockle

Container Image Linter with dockle

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Runs dockle

uses: hands-lab/dockle-action@v1

Learn more about this action in hands-lab/dockle-action

Choose a version

Dockle Action

GitHub

Usage

Basic usage

steps:
  - uses: hands-lab/dockle-action@v1
    with:
      image: hello-world

With optional parameters

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)