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

View File

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