docker-stacks/.drone.yml
Alexey Skobkin f7d87305db Inbucket version fix. (#40)
Reviewed-on: #40
2022-05-31 21:14:52 +03:00

16 lines
535 B
YAML

kind: pipeline
type: docker
name: validate-pr
steps:
- name: validate
image: 'docker/compose:alpine-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
trigger:
event:
include:
- pull_request