Merge pull request #885 from bestlong/ci-env-php-version-forget-change
Fix CI build forget update PHP_VERSION in .env
This commit is contained in:
commit
207cb2929a
|
@ -6,6 +6,7 @@ set -e
|
|||
#### Build the Docker Images
|
||||
if [ -n "${PHP_VERSION}" ]; then
|
||||
cp env-example .env
|
||||
sed -i -- "s/PHP_VERSION=.*/PHP_VERSION=${PHP_VERSION}/g" .env
|
||||
sed -i -- 's/=false/=true/g' .env
|
||||
cat .env
|
||||
docker-compose build
|
||||
|
|
Loading…
Reference in New Issue