This is a GitHub action for running to validate the Dockerfile usign the dockerlint/hadolint.
Required Dockerfile path. Default "Dockerfile".
Optional Linting tools (dockerlint/hadolint). Default "dockerlint".
For hadolint ignore option, use the .hadolint.yaml as per docs
Yet to be added Dockerfile label validate. Default "yes".
- uses: ghe-actions/dockerfile-validator@v1
with:
dockerfile: 'Dockerfile'
lint: 'hadolint'