Skip to content

GitHub action to validate the Dockerfile usign the dockerlint/hadolint.

License

Notifications You must be signed in to change notification settings

ghe-actions/dockerfile-validator

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

GitHub action to validate the Dockerfile usign the dockerlint/hadolint.

Resources

License

Stars

Watchers

Forks

Packages

No packages published