hadolint / hadolint-action

GitHub action for Hadolint, A Dockerfile linting tool
MIT License
192 stars 50 forks source link

Dockerfile is a directory #81

Open apoorva2809 opened 12 months ago

apoorva2809 commented 12 months ago
- name: Run Hadolint on Dockerfiles
      id: hadolint
      uses: hadolint/hadolint-action@v3.1.0
      with:
        dockerfile: Dockerfile
        output-file: hadolintresult.json
        recursive: true
        no-fail: true
        format: json

I have some usecases in which Dockerfile is a directory and inside that we have dockerfile , but it fails as soon as it founds Dockerfile name directory instead it should ignore those

Fix for the same https://github.com/hadolint/hadolint-action/pull/82/files