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 name: lint
steps: steps:
{{ range .Files }} {{#each services}}
{{ if eq .Ext "yml" }} - name: lint-${{ normalize . }}
- name: lint-docker-compose-${{ trimPrefix .Path "./" }}
image: docker/compose:1.29.2 image: docker/compose:1.29.2
commands: commands:
- cd $(dirname $0) - cd ./${{ normalize . }}
- docker-compose -f ${{ .Path }} config --quiet - docker-compose config --quiet
- docker-compose -f ${{ .Path }} config - docker-compose config
{{ end }} {{/each}}
{{ end }}