mirror of
https://github.com/Dannecron/php-for-dev.git
synced 2025-12-26 00:22:36 +03:00
ci: fix condition
This commit is contained in:
8
.github/workflows/continuous-integration.yml
vendored
8
.github/workflows/continuous-integration.yml
vendored
@@ -38,17 +38,13 @@ jobs:
|
||||
args: push dannecron/php-for-dev:${{ matrix.php_version }}
|
||||
|
||||
- name: tag latest image
|
||||
if: |
|
||||
success()
|
||||
&& ${{ matrix.php_version }} == '7.4'
|
||||
if: success() && matrix.php_version == '7.4'
|
||||
uses: actions-hub/docker@master
|
||||
with:
|
||||
args: tag dannecron/php-for-dev:7.4 dannecron/php-for-dev:latest
|
||||
|
||||
- name: push latest image to docker hub
|
||||
if: |
|
||||
success()
|
||||
&& ${{ matrix.php_version }} == '7.4'
|
||||
if: success() && matrix.php_version == '7.4'
|
||||
uses: actions-hub/docker@master
|
||||
with:
|
||||
args: push dannecron/php-for-dev:latest
|
||||
|
||||
Reference in New Issue
Block a user