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

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 6c864c86e add arm support, so mac m1 can run on docker (#2750)
6c864c86e is described below

commit 6c864c86e9cdb50673e6c4f032c31ceaf1acd15a
Author: CodingGPT <[email protected]>
AuthorDate: Sun May 14 11:01:40 2023 +0800

    add arm support, so mac m1 can run on docker (#2750)
---
 .github/workflows/docker-push.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/docker-push.yml 
b/.github/workflows/docker-push.yml
index 352886032..e9bb69e7e 100644
--- a/.github/workflows/docker-push.yml
+++ b/.github/workflows/docker-push.yml
@@ -60,6 +60,12 @@ jobs:
         run: |
           ./mvnw clean install -DskipTests -Pshaded,dist,webapp
 
+      - name: Set up QEMU
+        uses: docker/setup-qemu-action@v2
+
+      - name: Set up Docker Buildx
+        uses: docker/setup-buildx-action@v2
+
       - name: Log in to Docker Hub
         uses: docker/login-action@v2
         with:
@@ -81,6 +87,7 @@ jobs:
         with:
           context: .
           file: deploy/docker/Dockerfile
+          platforms: linux/amd64,linux/arm64/v8
           push: true
           tags: ${{ steps.meta.outputs.tags }}
           labels: ${{ steps.meta.outputs.labels }}

Reply via email to