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

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


The following commit(s) were added to refs/heads/main by this push:
     new b93225307a update release docs (#573)
b93225307a is described below

commit b93225307ac7dc333c707bd3332bdbd0d260a173
Author: 尔等同学 <[email protected]>
AuthorDate: Tue May 17 16:17:39 2022 +0800

    update release docs (#573)
    
    * update release docs
    
    * Update community/5-release-guide.md
    
    Co-authored-by: Kunshuai Zhu <[email protected]>
    
    * update release docs
    
    Co-authored-by: Kunshuai Zhu <[email protected]>
---
 community/5-release-guide.md                       | 26 +++++++++++++++++-----
 .../current/5-release-guide.md                     | 26 +++++++++++++++++-----
 2 files changed, 42 insertions(+), 10 deletions(-)

diff --git a/community/5-release-guide.md b/community/5-release-guide.md
index 9dd1ea5e49..25c044b01a 100644
--- a/community/5-release-guide.md
+++ b/community/5-release-guide.md
@@ -558,15 +558,31 @@ Back to 
[stagingRepositories](https://repository.apache.org/#stagingRepositories
 
 Install [Docker](https://docs.docker.com/get-docker/).
 
+The Docker version needs to be greater than or equal to 19.03, and the 
`experimental` parameter in the docker configuration file is changed to `true`.
+
 ```shell
 git checkout v${PUBLISH.VERSION}
 cd ~/shenyu/shenyu-dist/
-mvn clean package -Prelease,docker
+mvn clean package -Prelease
+
+docker buildx create --name shenyu
+docker buildx use shenyu
 docker login
-docker push apache/shenyu-bootstrap:latest
-docker push apache/shenyu-bootstrap:${RELEASE_VERSION}
-docker push apache/shenyu-admin:latest
-docker push apache/shenyu-admin:${RELEASE_VERSION}
+
+docker buildx build \ 
+  -t apache/shenyu-admin:latest \ 
+  -t apache/shenyu-admin:${PUBLISH.VERSION} \ 
+  --build-arg APP_NAME=apache-shenyu-incubating-${PUBLISH.VERSION}-admin-bin \ 
+  --platform=linux/arm64,linux/amd64 \ 
+  -f ./shenyu-admin-dist/Dockerfile --push
+
+docker buildx build \ 
+  -t apache/shenyu-bootstrap:latest \ 
+  -t apache/shenyu-bootstrap:${PUBLISH.VERSION} \ 
+  --build-arg 
APP_NAME=apache-shenyu-incubating-${PUBLISH.VERSION}-bootstrap-bin \ 
+  --platform=linux/arm64,linux/amd64 \ 
+  -f ./shenyu-bootstrap-dist/Dockerfile --push
+  
 ```
 
 Login Docker Hub to verify 
[shenyu-bootstrap](https://hub.docker.com/r/apache/shenyu-bootstrap/) and 
[shenyu-admin](https://hub.docker.com/r/apache/shenyu-admin/) exist.
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/5-release-guide.md 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/5-release-guide.md
index 5f2b69ad64..be6ae78e0c 100755
--- 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/5-release-guide.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/5-release-guide.md
@@ -558,15 +558,31 @@ svn delete 
https://dist.apache.org/repos/dist/release/incubator/shenyu/${PREVIOU
 
 安装 [Docker](https://docs.docker.com/get-docker/)。
 
+Docker版本需要大于等于19.03,docker配置文件中 `experimental` 参数修改为 `true`。
+
 ```shell
 git checkout v${PUBLISH.VERSION}
 cd ~/shenyu/shenyu-dist/
-mvn clean package -Prelease,docker
+mvn clean package -Prelease
+
+docker buildx create --name shenyu
+docker buildx use shenyu
 docker login
-docker push apache/shenyu-bootstrap:latest
-docker push apache/shenyu-bootstrap:${RELEASE_VERSION}
-docker push apache/shenyu-admin:latest
-docker push apache/shenyu-admin:${RELEASE_VERSION}
+
+docker buildx build \ 
+  -t apache/shenyu-admin:latest \ 
+  -t apache/shenyu-admin:${PUBLISH.VERSION} \ 
+  --build-arg APP_NAME=apache-shenyu-incubating-${PUBLISH.VERSION}-admin-bin \ 
+  
--platform=linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7,linux/386,linux/ppc64le,linux/s390x
 \ 
+  -f ./shenyu-admin-dist/Dockerfile --push
+
+docker buildx build \ 
+  -t apache/shenyu-bootstrap:latest \ 
+  -t apache/shenyu-bootstrap:${PUBLISH.VERSION} \ 
+  --build-arg 
APP_NAME=apache-shenyu-incubating-${PUBLISH.VERSION}-bootstrap-bin \ 
+  
--platform=linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7,linux/386,linux/ppc64le,linux/s390x
 \ 
+  -f ./shenyu-bootstrap-dist/Dockerfile --push
+  
 ```
 
 登录 Docker Hub 验证 
[shenyu-bootstrap](https://hub.docker.com/r/apache/shenyu-bootstrap/) 和 
[shenyu-admin](https://hub.docker.com/r/apache/shenyu-admin/) 的镜像是否存在。

Reply via email to