ci: fix condition

This commit is contained in:
2023-08-17 18:19:39 +07:00
parent 22f8b7c290
commit 9837fa062c

View File

@@ -38,17 +38,13 @@ jobs:
args: push dannecron/php-for-dev:${{ matrix.php_version }} args: push dannecron/php-for-dev:${{ matrix.php_version }}
- name: tag latest image - name: tag latest image
if: | if: success() && matrix.php_version == '7.4'
success()
&& ${{ matrix.php_version }} == '7.4'
uses: actions-hub/docker@master uses: actions-hub/docker@master
with: with:
args: tag dannecron/php-for-dev:7.4 dannecron/php-for-dev:latest args: tag dannecron/php-for-dev:7.4 dannecron/php-for-dev:latest
- name: push latest image to docker hub - name: push latest image to docker hub
if: | if: success() && matrix.php_version == '7.4'
success()
&& ${{ matrix.php_version }} == '7.4'
uses: actions-hub/docker@master uses: actions-hub/docker@master
with: with:
args: push dannecron/php-for-dev:latest args: push dannecron/php-for-dev:latest