Skip to content

Commit

Permalink
Fixed ci for slim swoole images
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Jun 17, 2024
1 parent dd23080 commit 00e8050
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-swoole.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
with:
context: ${{ matrix.php-version }}/alpine/swoole
load: true
tags: hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole
tags: hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole${{ env.SPEC }}
file: ${{ matrix.php-version }}/alpine/swoole/Dockerfile${{ env.SPEC }}
build-args: |
"ALPINE_VERSION=${{ matrix.alpine-version }}"
Expand All @@ -89,8 +89,8 @@ jobs:
"SW_VERSION=${{ env.SW_VERSION }}"
- name: Check
run: |
docker run --entrypoint php hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole -v
docker run --entrypoint php hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole --ri swoole
docker run --entrypoint php hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole${{ env.SPEC }} -v
docker run --entrypoint php hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole${{ env.SPEC }} --ri swoole
- name: Push
if: ${{ github.ref == 'refs/heads/build' }}
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 00e8050

Please sign in to comment.