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

gongchao pushed a commit to branch action-docker-build
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/action-docker-build by this 
push:
     new 21a324529 bugfix github action build docker image error
21a324529 is described below

commit 21a3245299668f011f0cc9c88312fc19c12c65a0
Author: tomsun28 <[email protected]>
AuthorDate: Wed Aug 14 13:45:20 2024 +0800

    bugfix github action build docker image error
    
    Signed-off-by: tomsun28 <[email protected]>
---
 .github/workflows/nightly-build.yml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/nightly-build.yml 
b/.github/workflows/nightly-build.yml
index 08ca91e5f..dbd107048 100644
--- a/.github/workflows/nightly-build.yml
+++ b/.github/workflows/nightly-build.yml
@@ -36,11 +36,11 @@ jobs:
     - name: Build with Maven
       run: mvn clean -B package -Prelease --file pom.xml
 
-    - uses: docker/setup-qemu-action@v3
-    - uses: docker/setup-buildx-action@v3
-    - name: Login to Docker Hub
-      uses: docker/login-action@v3
-      with: 
+    - uses: docker/setup-qemu-action@v2
+    - uses: docker/setup-buildx-action@v2
+    - name: Log in to Docker Hub
+      uses: docker/login-action@v2
+      with:
         username: ${{ secrets.DOCKERHUB_USER }}
         password: ${{ secrets.DOCKERHUB_TOKEN }}
         
@@ -49,5 +49,6 @@ jobs:
       with:
         context: ./dist
         file: ./script/docker/server/Dockerfile
+        platforms: linux/amd64,linux/arm64
         push: true
         tags: apache/hertzbeat:nightly


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to