mirror of
https://github.com/Dannecron/php-for-dev.git
synced 2025-12-25 16:12:35 +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 }}
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user