Skip to content

Commit

Permalink
v25.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
doubaokun committed Feb 4, 2025
1 parent a110835 commit d1418e0
Show file tree
Hide file tree
Showing 102 changed files with 1,699 additions and 6,160 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build_latest_alpine_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,49 +7,49 @@ on:

jobs:
build_latest_images:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.repository == 'openswoole/docker-openswoole' }}
strategy:
fail-fast: true
fail-fast: false
matrix:
php: ["8.1", "8.2", "8.3"]
php: ["8.2", "8.3", "8.4"]

steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

-
name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

-
name: Set full names of the Docker image
id: set_full_names
run: echo "::set-output name=full_names::openswoole/swoole:php${{ matrix.php }}-alpine"
run: echo "::set-output name=full_names::openswoole/openswoole:php${{ matrix.php }}-alpine"

-
name: Build and push Docker image openswoole/swoole:php${{ matrix.php }}-alpine
name: Build and push Docker image openswoole/openswoole:php${{ matrix.php }}-alpine
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
file: dockerfiles/latest/php${{ matrix.php }}/alpine/Dockerfile
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
platforms: linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x
push: true
tags: ${{ steps.set_full_names.outputs.full_names }}

-
name: Image digest of openswoole/swoole:php${{ matrix.php }}-alpine
name: Image digest of openswoole/openswoole:php${{ matrix.php }}-alpine
run: echo ${{ steps.docker_build.outputs.digest }}
56 changes: 0 additions & 56 deletions .github/workflows/build_latest_dev_images.yml

This file was deleted.

24 changes: 12 additions & 12 deletions .github/workflows/build_latest_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,49 +7,49 @@ on:

jobs:
build_latest_images:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.repository == 'openswoole/docker-openswoole' }}
strategy:
fail-fast: true
fail-fast: false
matrix:
php: ["8.1", "8.2", "8.3"]
php: ["8.2", "8.3", "8.4"]

steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

-
name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

-
name: Set full names of the Docker image
id: set_full_names
run: echo "::set-output name=full_names::openswoole/swoole:php${{ matrix.php }}"
run: echo "::set-output name=full_names::openswoole/openswoole:php${{ matrix.php }}"

-
name: Build and push Docker image openswoole/swoole:php${{ matrix.php }}
name: Build and push Docker image openswoole/openswoole:php${{ matrix.php }}
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
file: dockerfiles/latest/php${{ matrix.php }}/cli/Dockerfile
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le
platforms: linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x
push: true
tags: ${{ steps.set_full_names.outputs.full_names }}

-
name: Image digest of openswoole/swoole:php${{ matrix.php }}
name: Image digest of openswoole/openswoole:php${{ matrix.php }}
run: echo ${{ steps.docker_build.outputs.digest }}
30 changes: 15 additions & 15 deletions .github/workflows/build_versioned_alpine_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:

jobs:
build_versioned_alpine_images:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.repository == 'openswoole/docker-openswoole' }}
strategy:
fail-fast: true
fail-fast: false
matrix:
php: ["8.1", "8.2", "8.3"]
php: ["8.2", "8.3", "8.4"]
swoole47:
- ${{ contains(github.ref, '4.7.') }}

Expand All @@ -23,19 +23,19 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

-
name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -49,29 +49,29 @@ jobs:
major_version=${branch_name%.*}
if egrep -q '^status\:\s*"under development"\s*($|\#)' "$(pwd)/config/${branch_name}.yml" ; then
if [ ${{ matrix.php }} == '8.1' ] ; then
echo "::set-output name=full_names::openswoole/swoole:${branch_name}-php${{ matrix.php }}-alpine,openswoole/swoole:${major_version}-php${{ matrix.php }}-alpine,openswoole/swoole:${major_version}-alpine,openswoole/swoole:latest-alpine"
echo "::set-output name=full_names::openswoole/openswoole:${branch_name}-php${{ matrix.php }}-alpine,openswoole/openswoole:${major_version}-php${{ matrix.php }}-alpine,openswoole/openswoole:${major_version}-alpine,openswoole/openswoole:latest-alpine"
else
if [ ${{ matrix.php }} == '7.4' ] && [ ${major_version} == '4.4' ] ; then
echo "::set-output name=full_names::openswoole/swoole:${branch_name}-php${{ matrix.php }}-alpine,openswoole/swoole:${major_version}-php${{ matrix.php }}-alpine,openswoole/swoole:${major_version}-alpine"
echo "::set-output name=full_names::openswoole/openswoole:${branch_name}-php${{ matrix.php }}-alpine,openswoole/openswoole:${major_version}-php${{ matrix.php }}-alpine,openswoole/openswoole:${major_version}-alpine"
else
echo "::set-output name=full_names::openswoole/swoole:${branch_name}-php${{ matrix.php }}-alpine,openswoole/swoole:${major_version}-php${{ matrix.php }}-alpine"
echo "::set-output name=full_names::openswoole/openswoole:${branch_name}-php${{ matrix.php }}-alpine,openswoole/openswoole:${major_version}-php${{ matrix.php }}-alpine"
fi
fi
else
echo "::set-output name=full_names::openswoole/swoole:${branch_name}-php${{ matrix.php }}-alpine"
echo "::set-output name=full_names::openswoole/openswoole:${branch_name}-php${{ matrix.php }}-alpine"
fi
-
name: Build and push Docker image openswoole/swoole:${{ steps.params.outputs.branch_name }}-php${{ matrix.php }}-alpine
name: Build and push Docker image openswoole/openswoole:${{ steps.params.outputs.branch_name }}-php${{ matrix.php }}-alpine
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
file: dockerfiles/${{ steps.params.outputs.branch_name }}/php${{ matrix.php }}/alpine/Dockerfile
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le
platforms: linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x
push: true
tags: ${{ steps.params.outputs.full_names }}

-
name: Image digest of openswoole/swoole:${{ steps.params.outputs.branch_name }}-php${{ matrix.php }}-alpine
name: Image digest of openswoole/openswoole:${{ steps.params.outputs.branch_name }}-php${{ matrix.php }}-alpine
run: echo ${{ steps.docker_build.outputs.digest }}
77 changes: 0 additions & 77 deletions .github/workflows/build_versioned_dev_images.yml

This file was deleted.

Loading

0 comments on commit d1418e0

Please sign in to comment.