hadolint / hadolint-action

GitHub action for Hadolint, A Dockerfile linting tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerfile is a directory

apoorva2809 opened this issue · comments

- 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