mirror of
https://github.com/Dannecron/php-for-dev.git
synced 2025-12-26 00:22:36 +03:00
fix condition in docker build step
This commit is contained in:
4
.github/workflows/continuous-integration.yml
vendored
4
.github/workflows/continuous-integration.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# todo rollback changes
|
# todo rollback changes
|
||||||
php_version: ['8.0', '8.3']
|
php_version: ['8.0']
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
--platform=linux/amd64,linux/arm64 \
|
--platform=linux/amd64,linux/arm64 \
|
||||||
--build-arg COMPOSER_VERSION=${{ env.COMPOSER_VERSION }} \
|
--build-arg COMPOSER_VERSION=${{ env.COMPOSER_VERSION }} \
|
||||||
--tag=dannecron/php-for-dev:${{ matrix.php_version }} \
|
--tag=dannecron/php-for-dev:${{ matrix.php_version }} \
|
||||||
$( (( "${{ matrix.php_version }}" -eq '8.0' )) && printf %s '--tag=dannecron/php-for-dev:latest') \
|
$(if test "${{ matrix.php_version }}" = "8.0"; then printf %s '--tag=dannecron/php-for-dev:latest'; fi) \
|
||||||
./v${{ matrix.php_version }}
|
./v${{ matrix.php_version }}
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user