From 621c34026df81826a1caada2858f580158b272ce Mon Sep 17 00:00:00 2001 From: Cristovao Cordeiro Date: Wed, 1 Mar 2023 10:49:24 +0100 Subject: [PATCH] Add Hadolint to CI tests --- .github/workflows/tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e5d6f056..28efb3d8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -91,6 +91,13 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 + # Lint the Dockerfiles + - name: Lint the Dockerfile + uses: hadolint/hadolint-action@v3.1.0 + with: + dockerfile: chiselled-jre/Dockerfile.${{ matrix.ubuntu-release }} + ignore: DL3008,DL3015,SC3028 + - name: Build the chiselled-jre image run: | docker buildx build \