diff --git a/.drone.yml b/.drone.yml index 3d68d9c..19fbc52 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,6 +8,21 @@ platform: arch: amd64 steps: +- name: hadolint + pull: always + image: hadolint/hadolint:v1.23.0-8-gb01c5a9-alpine + commands: + - hadolint --version + - hadolint Dockerfile + when: + ref: + - refs/heads/master + - "refs/heads/feature-**" + - "refs/pull/**" + - "refs/tags/**" + event: + exclude: [cron] + - name: kaniko-build pull: always image: immawanderer/drone-kaniko:efd19c50