From b115703a2743767c8c8e6eeefed7954708379169 Mon Sep 17 00:00:00 2001 From: Daniel Savosin Date: Sun, 17 Mar 2024 12:42:23 +0700 Subject: [PATCH] fix condition in docker build step --- .github/workflows/continuous-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 8d262c7..e2db5d9 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: # todo rollback changes - php_version: ['8.0', '8.3'] + php_version: ['8.0'] steps: - name: Check out repository uses: actions/checkout@v4 @@ -45,7 +45,7 @@ jobs: --platform=linux/amd64,linux/arm64 \ --build-arg COMPOSER_VERSION=${{ env.COMPOSER_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 }} echo "Done"