hadolint / hadolint-action

GitHub action for Hadolint, A Dockerfile linting tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mention requirement to use checkout

kalikiana opened this issue · comments

I think the usage example should include the checkout action:

uses: actions/checkout@v2

Because otherwise you get this error trying to use hadolint:

hadolint: ./container/webui/Dockerfile: openBinaryFile: does not exist (No such file or directory)

Well, I can add that, I thought it was pretty obvious, since if you don´t checkout your code, how hadolint will have anything to analyze?

I think it would be idea to have a full copy-pasteable example @brpaz

Yes. If you provide an example like that I kind of expect it to work as-is.

@kalikiana would you like to contribute the example to the readme?