Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Jun 17, 2024
1 parent b19ac23 commit 6b2464f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-swoole.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,16 @@ jobs:
context: ${{ matrix.php-version }}/alpine/swoole
load: true
tags: hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-swoole
file: "Dockerfile${{ env.SPEC }}"
file: Dockerfile${{ env.SPEC }}
build-args: |
"ALPINE_VERSION=${{ matrix.alpine-version }}"
"COMPOSER_VERSION=${{ env.COMPOSER_VERSION }}"
"PHP_BUILD_VERSION=${{ steps.fetch-php-build-version.outputs.version }}"
"SW_VERSION=${{ env.SW_VERSION }}
"SW_VERSION=${{ env.SW_VERSION }}"
- name: Check
run: |
docker run --entrypoint php hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-dev -v
docker run --entrypoint php hyperf/hyperf:${{ matrix.php-version }}-alpine-v${{ matrix.alpine-version }}-dev --ri swoole
echo ${{ steps.meta.outputs.tags }}
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
- name: Push
if: ${{ github.ref == 'refs/heads/build' }}
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 6b2464f

Please sign in to comment.