Skip to content

v25.2.0 #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading