docker-stacks/.drone.yml
Alexey Skobkin 49419eab8f
All checks were successful
continuous-integration/drone/push Build is passing
Drone CI server and Drone Docker runner. (#34)
Drone CI server and Drone Docker runner.

Closes #27.

Reviewed-on: #34
2022-03-29 17:23:14 +03:00

11 lines
471 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: validate
image: 'docker/compose:1.29.2'
commands:
- for DIR in */ ; do if [[ $(expr match "$DIR" "_.*") != 0 ]] ; then echo "SKIPPING $DIR" && continue; fi && test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env ; done
- for DIR in */ ; do if [[ $(expr match "$DIR" "_.*") != 0 ]] ; then echo "SKIPPING $DIR" && continue; fi && echo $DIR && cd $DIR && docker-compose config && cd .. ; done