未验证 提交 e71e4b6d 编写于 作者: kimmking's avatar kimmking 提交者: GitHub

add docker build to shardingsphere-ui release note (#8086)

上级 cd192e54
......@@ -352,13 +352,47 @@ git push --delete origin ${RELEASE.VERSION}-release
git branch -d ${RELEASE.VERSION}-release
```
**3. GitHub 版本发布**
**3. 发布 Docker**
3.1 准备工作
本地安装 Docker,并启动服务。
3.2 编译 Docker 镜像
```shell
git checkout ${RELEASE.VERSION}
cd ~/shardingsphere-ui/shardingsphere-ui-distribution/shardingsphere-ui-bin-distribution/
mvn clean package -Prelease,docker
```
3.3 给本地 Docker 镜像打标记
通过`docker images`查看到IMAGE ID,例如为:e9ea51023687
```shell
docker tag e9ea51023687 apache/shardingsphere-ui:latest
docker tag e9ea51023687 apache/shardingsphere-ui:${RELEASE.VERSION}
```
3.4 发布Docker镜像
```shell
docker push apache/shardingsphere-ui:latest
docker push apache/shardingsphere-ui:${RELEASE_VERSION}
```
3.5 确认发布成功
登录 [Docker Hub](https://hub.docker.com/r/apache/shardingsphere-ui/) 查看是否有发布的镜像
**4. GitHub 版本发布**
[GitHub Releases](https://github.com/apache/shardingsphere-ui/releases) 页面的 `shardingsphere-ui-${RELEASE_VERSION}` 版本上点击 `Edit`
编辑版本号及版本说明,并点击 `Publish release`
**4. 更新下载页面**
**5. 更新下载页面**
等待并确认新的发布版本同步至 Apache 镜像后,更新如下页面:
......@@ -370,7 +404,7 @@ GPG签名文件和哈希校验文件的下载连接应该使用这个前缀: `
`最新版本`中保留一个最新的版本。Incubator阶段历史版本会自动归档到[Archive repository](https://archive.apache.org/dist/incubator/shardingsphere/)
**5. 邮件通知版本发布完成**
**6. 邮件通知版本发布完成**
## 发送邮件到`dev@shardingsphere.apache.org`和`announce@apache.org`通知完成版本发布
......
......@@ -356,13 +356,47 @@ git push --delete origin ${RELEASE.VERSION}-release
git branch -d ${RELEASE.VERSION}-release
```
**3. Publish release in GitHub**
**3. Docker Release**
3.1 Preparation
Install and start docker service
3.2 Compile Docker Image
```shell
git checkout ${RELEASE.VERSION}
cd ~/shardingsphere-ui/shardingsphere-ui-distribution/shardingsphere-ui-bin-distribution/
mvn clean package -Prelease,docker
```
3.3 Tag the local Docker Image
Check the image ID through `docker images`, for example: e9ea51023687
```shell
docker tag e9ea51023687 apache/shardingsphere-ui:latest
docker tag e9ea51023687 apache/shardingsphere-ui:${RELEASE.VERSION}
```
3.4 Publish Docker Image
```shell
docker push apache/shardingsphere-ui:latest
docker push apache/shardingsphere-ui:${RELEASE_VERSION}
```
3.5 Confirm the successful release
Login [Docker Hub](https://hub.docker.com/r/apache/shardingsphere-ui/) to check whether there are published images
**4. Publish release in GitHub**
Click `Edit` in [GitHub Releases](https://github.com/apache/shardingsphere-ui/releases)'s `shardingsphere-ui-${RELEASE_VERSION}` version
Edit version number and release notes, click `Publish release`
**4. Update the download page**
**5. Update the download page**
https://shardingsphere.apache.org/document/current/en/downloads/
......@@ -372,7 +406,7 @@ GPG signatures and hashes (SHA* etc) should use URL start with `https://download
Keep one latest versions in `Latest releases`. Incubating stage versions will be archived automatically in [Archive repository](https://archive.apache.org/dist/incubator/shardingsphere/)
**5. Announce release completed by email**
**6. Announce release completed by email**
Send e-mail to `dev@shardingsphere.apache.org` and `announce@apache.org` to announce the release is finished
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册