From 585fda1aee5f5923aa567330c15453c7bddc857d Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 31 May 2022 21:09:20 +0300 Subject: [PATCH] CI configuration optimization. --- .drone.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e953834..e413635 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,11 @@ name: default steps: - name: validate - image: 'docker/compose:1.29.2' + 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 + when: + event: + include: + - pull_request