From d20a1038a81fdb8bdfef3f6904e238b3f8ed8401 Mon Sep 17 00:00:00 2001 From: Otthorn Date: Tue, 23 Feb 2021 23:14:00 +0100 Subject: [PATCH] Add CI docker linter for nk20 Dockerfile --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 79c4b5f7..6e80b2e8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,6 +42,13 @@ ansible-linter: image: otthorn/nk20_ci_ansiblelint script: ansible-lint ansible/ +# Docker linter +docker-linter: + stage: quality-assurance + image: hadolint/hadolint + script: + - hadolint Dockerfile + # Compile documentation documentation: stage: docs