Skip to content

Commit

Permalink
ci: Run Hadolint on Dockerfiles
Browse files Browse the repository at this point in the history
Run the Hadolint Dockerfile linter.
  • Loading branch information
garberg committed Apr 19, 2024
1 parent 62d7daa commit 679295d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,20 @@ jobs:
- name: "Check out NIPAP repository"
uses: actions/checkout@v2

- name: "Hadolint nipapd"
uses: hadolint/[email protected]
with:
Dockerfile: Dockerfile.nipapd
override-info: "DL3008, DL4000"
failure-threshold: error

- name: "Hadolint WWW"
uses: hadolint/[email protected]
with:
Dockerfile: Dockerfile.www
override-info: "DL3008, DL4000"
failure-threshold: error

- name: "Install dependencies and prepare NIPAP"
run: |
# Set up NIPAP repo
Expand Down

0 comments on commit 679295d

Please sign in to comment.