From 9d1067ed8cf2484bcf35b7bd4e86c7392a8403b6 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 2 Aug 2023 18:54:20 +0200 Subject: [PATCH] add shellcheck and hadolint --- .drone.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0b9abba..db544ce 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,10 +13,19 @@ steps: exclude: - tag -# - name: hadolint -# image: hadolint/hadolint:latest-debian -# commands: -# - hadolint Dockerfile + - name: shellcheck + image: koalaman/shellcheck + commands: + - shellcheck app.sh + when: + event: + exclude: + - tag + + - name: hadolint + image: hadolint/hadolint:latest-debian + commands: + - hadolint Dockerfile --- kind: pipeline