Skip to content

Dockerfile Validator

Actions
Validate a Dockerfile
v5
Latest
Star (9)

dockerfile-validator

This is a GitHub action for running to validate the Dockerfile usign the dockerlint/hadolint.

Notes

  1. dockerlint

  2. hadolint

Inputs

dockerfile

Required Dockerfile path. Default "Dockerfile".

lint

Optional Linting tools (dockerlint/hadolint). Default "dockerlint".

For hadolint ignore option, use the .hadolint.yaml as per docs

dockerlabelvalidate

Yet to be added Dockerfile label validate. Default "yes".

Example usage

- uses: ghe-actions/dockerfile-validator@v1
    with:
      dockerfile: 'Dockerfile'
      lint: 'hadolint'

Contact

Dockerfile Validator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Validate a Dockerfile
v5
Latest

Dockerfile Validator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.