Skip to content

Commit

Permalink
Ignore DL4006 in Hadolint (#42)
Browse files Browse the repository at this point in the history
* Ignore DL4006 in Hadolint
This warning is not relevant in that use case

* Ignore DL4006 in Hadolint
This warning is not relevant in that use case

* Fix syntax

* Fix syntax

* Fix syntax

* Test

* Test ok
  • Loading branch information
Antiz96 authored Jan 22, 2024
1 parent bc7dcac commit e5ea47d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: find . -name '*.sh' -exec shellcheck --color=always {} +

- name: Run hadolint
run: docker run --rm -i hadolint/hadolint < Dockerfile
run: docker run --rm -i -v "${PWD}"/.github/workflows/hadolint.yaml:/.config/hadolint.yaml hadolint/hadolint < Dockerfile

- name: Cleanup docker images
run: docker image prune -af
2 changes: 2 additions & 0 deletions .github/workflows/hadolint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignored:
- DL4006

0 comments on commit e5ea47d

Please sign in to comment.