From 152abf14433398ae9bbf8eef05d27b30b15395ef Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 29 Jan 2024 11:19:18 +0100 Subject: [PATCH] build: Add Hadolint (#133) --- .github/workflows/check.yml | 6 ++++++ .github/workflows/test.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 133ad84..9dd2180 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -17,3 +17,9 @@ jobs: with: path: "assets" file-endings: ".xml" + - name: Lint Dockerfile + uses: hadolint/hadolint-action@v3.1.0 + with: + dockerfile: Dockerfile + ignore: DL3008 + failure-threshold: warning diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4b88a3..4903636 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,7 @@ on: - '**/*.xml' - '.github/workflows/test.yml' - '.github/workflows/check.yml' + - 'Dockerfile' name: "Test" permissions: {}