drone. Trying $(expr) regex approach in .drone.yml.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Alexey Skobkin 2022-03-29 16:58:26 +03:00
parent d98394ca25
commit 54b8827980
1 changed files with 2 additions and 2 deletions

View File

@ -6,5 +6,5 @@ steps:
- name: validate
image: 'docker/compose:1.29.2'
commands:
- for DIR in */ ; do if [[ $DIR =~ ^_ ]] ; then continue; fi && test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env ; done
- for DIR in */ ; do if [[ $DIR =~ ^_ ]] ; then continue; fi && echo $DIR && cd $DIR && docker-compose config && cd .. ; done
- for DIR in */ ; do if [[ $(expr match "$DIR" '^_') != 0 ]] ; then continue; fi && test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env ; done
- for DIR in */ ; do if [[ $(expr match "$DIR" '^_') != 0 ]] ; then continue; fi && echo $DIR && cd $DIR && docker-compose config && cd .. ; done