diff --git a/.github/workflows/build-swoole.yml b/.github/workflows/build-swoole.yml index d1394b7..0396ebf 100644 --- a/.github/workflows/build-swoole.yml +++ b/.github/workflows/build-swoole.yml @@ -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