Skip to content

Commit deb9798

Browse files
committed
fix conditional matrix
1 parent b838c49 commit deb9798

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ jobs:
6868

6969
- name: Build and export to Docker (Node)
7070
uses: docker/build-push-action@v5
71-
if: ${{ matrix.type }} == ''
71+
if: ${{ matrix.type == '' }}
7272
with:
7373
context: ${{ matrix.version }}-node${{ matrix.type }}
7474
load: true
7575
tags: kooldev/php:${{ matrix.version }}-node${{ matrix.type }}
7676

7777
- name: Tests (Node)
78-
if: ${{ matrix.type }} == ''
78+
if: ${{ matrix.type == '' }}
7979
run: |
8080
docker run kooldev/php:${{ matrix.version }}-node${{ matrix.type }} node -v
8181
docker run kooldev/php:${{ matrix.version }}-node${{ matrix.type }} npm -v
@@ -106,7 +106,7 @@ jobs:
106106

107107
- name: Build and push (Node)
108108
uses: docker/build-push-action@v5
109-
if: github.ref == 'refs/heads/master' && github.repository == 'kool-dev/docker-php' && ${{ matrix.type }} == ''
109+
if: github.ref == 'refs/heads/master' && github.repository == 'kool-dev/docker-php' && ${{ matrix.type == '' }}
110110
with:
111111
context: ${{ matrix.version }}-node${{ matrix.type }}
112112
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)