Update main-ci.yml

This commit is contained in:
Shao Yu-Lung (Allen) 2020-04-17 13:14:06 +08:00 committed by GitHub
parent 941960df82
commit fbaaff619a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -12,8 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
env:
PHP_VERSION: ${{ matrix.php_version }}
run: |
cp env-example .env
sed -i -- "s/PHP_VERSION=.*/PHP_VERSION=${{ matrix.php_version }}/g" .env
docker-compose build ${{ matrix.service }}