Skip to content

Commit

Permalink
upgrade ci
Browse files Browse the repository at this point in the history
  • Loading branch information
brucedou committed Feb 4, 2025
1 parent c87caac commit c599628
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 48 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_latest_alpine_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build_latest_images:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.repository == 'openswoole/docker-openswoole' }}
strategy:
fail-fast: false
Expand All @@ -17,19 +17,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 @@ -42,11 +42,11 @@ jobs:
-
name: Build and push Docker image openswoole/swoole: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 }}

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build_latest_dev_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build_latest_images:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.repository == 'openswoole/docker-openswoole' }}
strategy:
fail-fast: false
Expand All @@ -17,19 +17,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 @@ -42,11 +42,11 @@ jobs:
-
name: Build and push Docker image openswoole/swoole:php${{ matrix.php }}-dev
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/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 }}
build-args: DEV_MODE=true
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build_latest_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build_latest_images:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.repository == 'openswoole/docker-openswoole' }}
strategy:
fail-fast: false
Expand All @@ -17,19 +17,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 @@ -42,11 +42,11 @@ jobs:
-
name: Build and push Docker image openswoole/swoole: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 }}

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build_versioned_alpine_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build_versioned_alpine_images:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.repository == 'openswoole/docker-openswoole' }}
strategy:
fail-fast: false
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 Down Expand Up @@ -64,11 +64,11 @@ jobs:
-
name: Build and push Docker image openswoole/swoole:${{ 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 }}

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build_versioned_dev_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build_versioned_dev_images:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.repository == 'openswoole/docker-openswoole' }}
strategy:
fail-fast: false
Expand All @@ -22,19 +22,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 Down Expand Up @@ -63,11 +63,11 @@ jobs:
-
name: Build and push Docker image openswoole/swoole:${{ steps.params.outputs.branch_name }}-php${{ matrix.php }}-dev
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 }}/cli/Dockerfile
platforms: linux/amd64,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 }}
build-args: DEV_MODE=true
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build_versioned_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build_versioned_images:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.repository == 'openswoole/docker-openswoole' }}
strategy:
fail-fast: false
Expand All @@ -22,19 +22,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 Down Expand Up @@ -63,11 +63,11 @@ jobs:
-
name: Build and push Docker image openswoole/swoole:${{ steps.params.outputs.branch_name }}-php${{ matrix.php }}
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 }}/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.params.outputs.full_names }}

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/25.2.0/php8.2/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2.26-cli-alpine3.20
FROM php:8.2.0-cli-alpine3.16

RUN \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/25.2.0/php8.2/cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2.26-cli
FROM php:8.2.0-cli

ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm-color
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/25.2.0/php8.3/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3.15-cli-alpine3.20
FROM php:8.3.0-cli-alpine3.18

RUN \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/25.2.0/php8.3/cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3.15-cli
FROM php:8.3.0-cli

ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm-color
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/latest/php8.2/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2-cli-alpine3.20
FROM php:8.2-cli-alpine3.16

RUN \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/latest/php8.3/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3-cli-alpine3.20
FROM php:8.3-cli-alpine3.18

RUN \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
Expand Down

0 comments on commit c599628

Please sign in to comment.