docker-stacks/.drone.yml

17 lines
530 B
YAML
Raw Permalink Normal View History

kind: pipeline
type: docker
name: validate-pr
steps:
- name: validate
2024-11-04 23:39:16 +00:00
image: 'dockette/docker:latest'
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
2024-11-04 23:39:16 +00:00
- 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