From edd1c8c21afbb7cd846070354d533bb2dd399115 Mon Sep 17 00:00:00 2001 From: Dusan Malusev Date: Mon, 10 Jun 2024 18:45:14 +0200 Subject: [PATCH] fix Signed-off-by: Dusan Malusev --- .github/workflows/docker-image.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index e607e9ac9..dbcd1a0a5 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -45,7 +45,7 @@ jobs: - name: Build and push API id: docker_build_zts uses: docker/build-push-action@v4 - if: ${{ github.event.inputs.zts == 'yes' }} + if: ${{ inputs.zts == 'yes' }} with: file: Dockerfile context: . @@ -53,17 +53,17 @@ jobs: pull: true platforms: linux/amd64 target: base - tags: malusevd99/scylladb-php-driver:php-${{ github.event.inputs.php }}-zts + tags: malusevd99/scylladb-php-driver:php-${{ inputs.php }}-zts cache-from: type=gha cache-to: type=gha,mode=max build-args: | - PHP_VERSION=${{ github.event.inputs.php }} - PHP_ZTS=${{ github.event.inputs.zts }} + PHP_VERSION=${{ inputs.php }} + PHP_ZTS=${{ inputs.zts }} PHP_DEBUG="yes" - name: Build and push API id: docker_build_nts uses: docker/build-push-action@v4 - if: ${{ github.event.inputs.zts == 'no' }} + if: ${{ inputs.zts == 'no' }} with: file: Dockerfile context: . @@ -71,10 +71,10 @@ jobs: pull: true platforms: linux/amd64 target: base - tags: malusevd99/scylladb-php-driver:php-${{ github.event.inputs.php }} + tags: malusevd99/scylladb-php-driver:php-${{ inputs.php }} cache-from: type=gha cache-to: type=gha,mode=max build-args: | - PHP_VERSION=${{ github.event.inputs.php }} - PHP_ZTS=${{ github.event.inputs.zts }} + PHP_VERSION=${{ inputs.php }} + PHP_ZTS=${{ inputs.zts }} PHP_DEBUG="yes"