This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
Auto-Homelab/.drone.yml
Matt Reeves 9f723f40f8
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Update .drone.yml
2024-02-13 05:08:13 +00:00

14 lines
315 B
YAML

kind: pipeline
name: lint
steps:
{{ range .Files }}
{{ if eq .Ext "yml" }}
- name: lint-docker-compose-${{ trimPrefix .Path "./" }}
image: docker/compose:1.29.2
commands:
- cd $(dirname $0)
- docker-compose -f ${{ .Path }} config --quiet
- docker-compose -f ${{ .Path }} config
{{ end }}
{{ end }}