build: Add Hadolint (#133)

This commit is contained in:
Kroese 2024-01-29 11:19:18 +01:00 committed by GitHub
parent de8f08a7af
commit 152abf1443
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -17,3 +17,9 @@ jobs:
with: with:
path: "assets" path: "assets"
file-endings: ".xml" file-endings: ".xml"
- name: Lint Dockerfile
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
ignore: DL3008
failure-threshold: warning

View File

@ -6,6 +6,7 @@ on:
- '**/*.xml' - '**/*.xml'
- '.github/workflows/test.yml' - '.github/workflows/test.yml'
- '.github/workflows/check.yml' - '.github/workflows/check.yml'
- 'Dockerfile'
name: "Test" name: "Test"
permissions: {} permissions: {}