feat: add new swoole images #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Versioned Alpine Images for EasySwoole PHP 8.2 | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
jobs: | ||
build_versioned_alpine_images: | ||
runs-on: ubuntu-22.04 | ||
if: github.repository == 'xuesilf/easyswoole-docker' | ||
strategy: | ||
matrix: | ||
include: | ||
Check failure on line 14 in .github/workflows/publish_versioned_alpine_image_php82.yml
|
||
# - php: 8.2.17 | ||
# alpine: 3.19 | ||
# swoole: "4.8.13" | ||
# - php: 8.2.17 | ||
# alpine: 3.19 | ||
# swoole: "5.0.3" | ||
# - php: 8.2.17 | ||
# alpine: 3.19 | ||
# swoole: "5.1.1" | ||
# - php: 8.2.26 | ||
# alpine: 3.21 | ||
# swoole: "4.8.13" | ||
# - php: 8.2.26 | ||
# alpine: 3.21 | ||
# swoole: "5.0.3" | ||
# - php: 8.2.26 | ||
# alpine: 3.21 | ||
# swoole: "5.1.1" | ||
name: The Alpine Image For EasySwoole PHP-${{ matrix.php }} Swoole-${{ matrix.swoole }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Build and push Docker image easyswoolexuesi2021/easyswoole:php${{ matrix.php }}-alpine${{ matrix.alpine }}-swoole${{ matrix.swoole }} | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
file: dockerfiles/php8/${{ matrix.php }}/alpine/${{ matrix.alpine }}/swoole/${{ matrix.swoole }}/Dockerfile | ||
platforms: linux/amd64,linux/arm64/v8 | ||
push: true | ||
tags: | | ||
easyswoolexuesi2021/easyswoole:php${{ matrix.php }}-alpine${{ matrix.alpine }}-swoole${{ matrix.swoole }} |