Lint dockerfiles and add CI pipeline for linting #67
1 changed files with 18 additions and 0 deletions
18
.drone.yml
18
.drone.yml
|
@ -1,3 +1,21 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: lint
|
||||
|
||||
steps:
|
||||
- name: Lint Dockerfiles
|
||||
image: hadolint/hadolint
|
||||
commands:
|
||||
- hadolint 1.6/Dockerfile
|
||||
- hadolint 1.6/Dockerfile.prod
|
||||
- hadolint 1.7/Dockerfile
|
||||
- hadolint 1.7/Dockerfile.prod
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
|
Loading…
Reference in a new issue