This is an automated email from the ASF dual-hosted git repository.
wangdan pushed a commit to branch v2.5
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
The following commit(s) were added to refs/heads/v2.5 by this push:
new 6832b2fac feat(docker): support arm64 (#2081) (#2396)
6832b2fac is described below
commit 6832b2fac4c53549b9927d2d4cdf460007f797b1
Author: Dan Wang <[email protected]>
AuthorDate: Thu Apr 9 15:38:42 2026 +0800
feat(docker): support arm64 (#2081) (#2396)
Resolve https://github.com/apache/incubator-pegasus/issues/2080.
---
.github/workflows/build-push-env-docker.yml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build-push-env-docker.yml
b/.github/workflows/build-push-env-docker.yml
index 1bf695e7e..ca8d07b88 100644
--- a/.github/workflows/build-push-env-docker.yml
+++ b/.github/workflows/build-push-env-docker.yml
@@ -44,19 +44,22 @@ jobs:
- centos7
steps:
- name: Checkout
+ # The glibc version on ubuntu1804 and centos7 is lower than the
actions/checkout@v4 required, so
+ # we need to force to use actions/checkout@v3.
uses: actions/checkout@v3
- 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_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
- uses: docker/[email protected]
+ uses: docker/build-push-action@v6
with:
+ platforms: linux/amd64,linux/arm64
context: .
file: ./docker/pegasus-build-env/${{ matrix.dockertag }}/Dockerfile
push: true
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]