From 21a81291520136b870518f99bc4890fa6a9e2dbd Mon Sep 17 00:00:00 2001 From: Nils Jannasch Date: Fri, 7 Apr 2023 18:14:03 +0200 Subject: [PATCH] Hadolint config added --- .github/workflows/docker.yaml | 2 +- .hadolint.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .hadolint.yaml diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index c1cdd05f..4874cf83 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -28,4 +28,4 @@ jobs: - name: Run Hadolint run: | - docker run --rm -i ghcr.io/hadolint/hadolint < Dockerfile + docker run --rm -i -v ./.hadolint.yaml:/.config/hadolint.yaml hadolint/hadolint < Dockerfile diff --git a/.hadolint.yaml b/.hadolint.yaml new file mode 100644 index 00000000..4cdad5fc --- /dev/null +++ b/.hadolint.yaml @@ -0,0 +1,2 @@ +ignored: + - SC1091