mirror of
https://github.com/Dannecron/php-for-dev.git
synced 2025-12-26 00:22:36 +03:00
ci: fix matrix variable value
This commit is contained in:
6
.github/workflows/continuous-integration.yml
vendored
6
.github/workflows/continuous-integration.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php_version: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
|
php_version: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
- name: tag latest image
|
- name: tag latest image
|
||||||
if: |
|
if: |
|
||||||
success()
|
success()
|
||||||
&& ${{ matrix.php_version }} == 7.4
|
&& ${{ 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
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
- name: push latest image to docker hub
|
- name: push latest image to docker hub
|
||||||
if: |
|
if: |
|
||||||
success()
|
success()
|
||||||
&& ${{ matrix.php_version }} == 7.4
|
&& ${{ 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