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

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


The following commit(s) were added to refs/heads/master by this push:
     new 57af79371 Update docker-publish.yml (#3501)
57af79371 is described below

commit 57af793711ca9e5f8f07ee114f69795d36b29081
Author: Luke.Z <[email protected]>
AuthorDate: Wed Jun 8 19:28:37 2022 +0800

    Update docker-publish.yml (#3501)
---
 .github/workflows/docker-publish.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/docker-publish.yml 
b/.github/workflows/docker-publish.yml
index ebc7a3048..49d9c220e 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -73,16 +73,18 @@ jobs:
       - uses: actions/setup-java@v1
         if: env.SKIP_CI != 'true'
         with:
-          java-version: ${{ matrix.java }}
+          java-version: 8
+          
       - name: Build with Maven
         if: env.SKIP_CI != 'true'
-        run: ./mvnw -B clean package -Prelease
+        run: ./mvnw -B clean -Prelease -Dmaven.javadoc.skip=true -B 
-Drat.skip=true -Djacoco.skip=true -DskipITs -DskipTests package
 
       - name: Build and push(admin)
         uses: docker/build-push-action@v3
         if: env.SKIP_CI != 'true'
         with:
           context: ./shenyu-dist/shenyu-admin-dist
+          build-args: APP_NAME=apache-shenyu-incubating-*-admin-bin
           platforms: linux/amd64,linux/arm64
           push: true
           tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}/admin:${{ env.TAG }}
@@ -92,6 +94,7 @@ jobs:
         if: env.SKIP_CI != 'true'
         with:
           context: ./shenyu-dist/shenyu-bootstrap-dist
+          build-args: APP_NAME=apache-shenyu-incubating-*-bootstrap-bin
           platforms: linux/amd64,linux/arm64
           push: true
           tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}/bootstrap:${{ 
env.TAG }}

Reply via email to