Skip to content

Commit

Permalink
linters: Add hadolint Dockerfile linter
Browse files Browse the repository at this point in the history
This adds the hadolint [1] Dockerfile linter to the IPDK CI.

[1] https://github.com/hadolint/hadolint

Signed-off-by: Kyle Mestery <[email protected]>
  • Loading branch information
mestery authored and glimchb committed Jul 14, 2022
1 parent dafe123 commit e7531ab
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/markdown.yml → .github/workflows/linters.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: MarkdownLint
name: Linters

on:
push:
Expand All @@ -16,3 +16,12 @@ jobs:
- uses: avto-dev/[email protected]
with:
args: './*.md'

docker-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hadolint/[email protected]
with:
recursive: true
ignore: DL3041

0 comments on commit e7531ab

Please sign in to comment.