chore: add Hadolint Dockerfile linting (#27)
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
8378656cb7
commit
e10bbd74f8
12
.drone.yml
12
.drone.yml
@ -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
2
.hadolint.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
ignored:
|
||||
- DL3007
|
Loading…
Reference in New Issue
Block a user