You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pegasus.apache.org by wa...@apache.org on 2024/07/26 03:24:33 UTC

(incubator-pegasus) branch master updated: feat(docker): support arm64 (#2081)

This is an automated email from the ASF dual-hosted git repository.

wangdan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/master by this push:
     new 722af2e40 feat(docker): support arm64 (#2081)
722af2e40 is described below

commit 722af2e407a530ff71f7e919bb48a1ce8069f8a8
Author: shalk(xiao kun) <xs...@163.com>
AuthorDate: Fri Jul 26 11:24:28 2024 +0800

    feat(docker): support arm64 (#2081)
    
    Resolve https://github.com/apache/incubator-pegasus/issues/2080.
---
 .github/workflows/build-push-env-docker.yml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/build-push-env-docker.yml b/.github/workflows/build-push-env-docker.yml
index f72af174a..bc6bf447d 100644
--- a/.github/workflows/build-push-env-docker.yml
+++ b/.github/workflows/build-push-env-docker.yml
@@ -52,19 +52,20 @@ jobs:
       - 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
+        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_USER }}
           password: ${{ secrets.DOCKERHUB_TOKEN }}
       - name: Build and push
-        uses: docker/build-push-action@v2.10.0
+        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: commits-unsubscribe@pegasus.apache.org
For additional commands, e-mail: commits-help@pegasus.apache.org