diff --git a/.drone.yml b/.drone.yml index 815fece..1a6dc03 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,10 +4,11 @@ name: validate-pr steps: - name: validate - image: 'docker/compose-bin:latest' + 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 - - for DIR in */ ; do if [[ $(expr match "$DIR" "_.*") != 0 ]] ; then echo "SKIPPING $DIR" && continue; fi && echo $DIR && cd $DIR && /docker-compose config && cd .. ; 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: