Update .drone.yml
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Matt Reeves 2024-02-13 05:09:41 +00:00
parent 9f723f40f8
commit e137bc11aa

View file

@ -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}}