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
6d7b4f106f
commit
9f723f40f8
1 changed files with 8 additions and 3 deletions
11
.drone.yml
11
.drone.yml
|
@ -2,8 +2,13 @@ kind: pipeline
|
|||
name: lint
|
||||
|
||||
steps:
|
||||
- name: lint-docker-compose
|
||||
{{ range .Files }}
|
||||
{{ if eq .Ext "yml" }}
|
||||
- name: lint-docker-compose-${{ trimPrefix .Path "./" }}
|
||||
image: docker/compose:1.29.2
|
||||
commands:
|
||||
- docker-compose -f docker-compose.yml config --quiet
|
||||
- docker-compose -f docker-compose.yml config
|
||||
- cd $(dirname $0)
|
||||
- docker-compose -f ${{ .Path }} config --quiet
|
||||
- docker-compose -f ${{ .Path }} config
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Reference in a new issue