-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
withBinaryFile: does not exist (No such file or directory) #80
Comments
Could it be the reason that there is no |
Same issue here my repos:
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: hadolint-docker output
The files stated on the output are there, and the linter can find them. however it fails. If I change my pre-commit config file to repos:
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: hadolint it works fine |
I've seen this when there is no Dockerfile in the repo in any directory or subdirectory. So this Github Action should be patched to support this, I do not have solution for it. Yet if anyone is interested I can provide custom GitHub workflow that handles the case (skip action if no Dockerfiles are changed or are deleted). If someone is interested I can get it next week. |
I have the following
Dockerfile
This fails the lint with:
The
Dockerfile
works as expected thoughThe text was updated successfully, but these errors were encountered: