chore: add Hadolint Dockerfile linting (#27)
All checks were successful
continuous-integration/drone/push Build is passing

as per #22
fixes #22

* update PR pipeline in .drone.yml
* add .hadolint.yaml

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #27
Co-authored-by: wanderer <wanderer@noreply.git.dotya.ml>
Co-committed-by: wanderer <wanderer@noreply.git.dotya.ml>
This commit is contained in:
wanderer 2021-02-16 16:11:24 +01:00
parent 8378656cb7
commit e10bbd74f8
Signed by: Gitea
GPG Key ID: 0DD13DBC6B5433D3
2 changed files with 14 additions and 0 deletions

@ -24,6 +24,12 @@ steps:
commands:
- uname -r
- name: hadolint
pull: always
image: hadolint/hadolint:latest
commands:
- uname -r
- hadolint --version
---
kind: pipeline
@ -68,6 +74,12 @@ depends_on:
- build
steps:
- name: hadolint
image: hadolint/hadolint:latest
commands:
- hadolint --version
- hadolint Dockerfile
- name: build
pull: always
image: tmaier/docker-compose:latest

2
.hadolint.yaml Normal file

@ -0,0 +1,2 @@
ignored:
- DL3007