ci: introduce hadolint Dockerfile linting
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2021-04-21 23:09:43 +02:00
parent f84c016be7
commit 41553cbe1c
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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