Update .drone.yml
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
d459f165ea
commit
2cca8d4cbc
1 changed files with 5 additions and 14 deletions
19
.drone.yml
19
.drone.yml
|
@ -1,19 +1,10 @@
|
||||||
---
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: lint-docker-compose
|
name: lint
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: lint-docker-compose
|
|
||||||
image: docker/compose:1.29.2
|
- name: lint
|
||||||
|
image: hadolint/hadolint
|
||||||
commands:
|
commands:
|
||||||
- docker-compose -f docker-compose.yml config
|
- hadolint **/docker-compose.yml
|
Reference in a new issue