Copying .env in a separate step.

This commit is contained in:
Alexey Skobkin 2022-01-27 03:20:36 +03:00
parent 3c30aff328
commit 2dde307c83

View file

@ -1,4 +1,5 @@
validate:
image: 'docker/compose:1.29.2'
script:
- for DIR in */ ; do echo $DIR && cd $DIR && cp .env.dist .env && docker-compose config && cd .. ; done
- for DIR in */ ; do test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env
- for DIR in */ ; do echo $DIR && cd $DIR && docker-compose config && cd .. ; done