chore: add Hadolint Dockerfile linting
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
* as per #22 * update PR pipeline in .drone.yml * add .hadolint.yaml
This commit is contained in:
parent
d6510fbd9b
commit
ddef170d87
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