Skip to content

Commit 629f467

Browse files
committed
Adds hadolint to CI
1 parent d0884e7 commit 629f467

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of Sonar analysis
1818
- name: Hadolint
1919
uses: hadolint/[email protected]
20+
ignore: SC2086,DL3018
2021
with:
2122
dockerfile: ./Dockerfile
2223
- name: SonarCloud Scan

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/**

.hadolint.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ignored:
2+
- DL3018 # Pin versions in apk add. Instead of apk add <package>, use apk add <package>:<version>
3+
- SC2086 # Double quote to prevent globbing and word splitting
4+
- DL3006 # Always tag the version of an image explicitly

0 commit comments

Comments
 (0)