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