Skip to content

feat: add php8.2.26 swoole images #37

feat: add php8.2.26 swoole images

feat: add php8.2.26 swoole images #37

name: Build Versioned Alpine Images for EasySwoole PHP 7.4
#on:
# push:
# branches:
# - 'main'
jobs:
build_versioned_alpine_images:
runs-on: ubuntu-22.04
if: github.repository == 'xuesilf/easyswoole-docker'
strategy:
matrix:
swoole: [ "4.4.23", "4.4.24", "4.4.25", "4.4.26" ]
name: The Alpine Image For EasySwoole PHP-7.4 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:php7.4.33-alpine3.15-swoole${{ matrix.swoole }}
uses: docker/build-push-action@v3
with:
context: .
file: dockerfiles/php7/7.4.33/alpine/3.15/swoole/${{ matrix.swoole }}/Dockerfile
platforms: linux/amd64,linux/arm64/v8
push: true
tags: |
easyswoolexuesi2021/easyswoole:php7.4.33-alpine3.15-swoole${{ matrix.swoole }}