Skip to content

Commit 00e8050

Browse files
committed
Fixed ci for slim swoole images
1 parent dd23080 commit 00e8050

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-swoole.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
with:
8181
context: ${{ matrix.php-version }}/alpine/swoole
8282
load: true
83-
tags: hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole
83+
tags: hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole${{ env.SPEC }}
8484
file: ${{ matrix.php-version }}/alpine/swoole/Dockerfile${{ env.SPEC }}
8585
build-args: |
8686
"ALPINE_VERSION=${{ matrix.alpine-version }}"
@@ -89,8 +89,8 @@ jobs:
8989
"SW_VERSION=${{ env.SW_VERSION }}"
9090
- name: Check
9191
run: |
92-
docker run --entrypoint php hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole -v
93-
docker run --entrypoint php hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole --ri swoole
92+
docker run --entrypoint php hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole${{ env.SPEC }} -v
93+
docker run --entrypoint php hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole${{ env.SPEC }} --ri swoole
9494
- name: Push
9595
if: ${{ github.ref == 'refs/heads/build' }}
9696
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)