-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from dlimeng/dev
fix docker publish
- Loading branch information
Showing
2 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
id: 'development-docker-publish' | ||
title: 'Docker Publish' | ||
sidebar_position: 8 | ||
--- | ||
|
||
# Docker Build for SolidUI | ||
|
||
## 1. Prerequisites | ||
|
||
[Docker](https://docs.docker.com/engine/install/) 1.13.1+ | ||
|
||
* Method 1: Download the address from the official website: https://github.com/CloudOrc/SolidUI/releases, and download the corresponding installation package (overall installation package). | ||
* Method 2: Compile the project installation package according to SolidUI. | ||
|
||
|
||
## 2. Create an image | ||
|
||
[Docker Build](development-docker) | ||
|
||
## 3. Release the image | ||
|
||
```shell | ||
Log in with the SolidUI administrator account. | ||
docker login ghcr.io -u dlimeng -p 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 | ||
|
||
docker tag solidui-entrance:x.x.x ghcr.io/cloudorc/solidui/solidui-entrance:x.x.x | ||
|
||
docker tag solidui-web:x.x.x ghcr.io/cloudorc/solidui/solidui-web:x.x.x | ||
|
||
docker tag soliduimodelui:x.x.x ghcr.io/cloudorc/solidui/soliduimodelui:x.x.x | ||
|
||
|
||
docker push ghcr.io/cloudorc/solidui/solidui-entrance:x.x.x | ||
|
||
docker push ghcr.io/cloudorc/solidui/solidui-web:x.x.x | ||
|
||
docker push ghcr.io/cloudorc/solidui/soliduimodelui:x.x.x | ||
``` | ||
|
||
## 4. Test | ||
After the image is published, you can view the latest image at the following links: | ||
https://github.com/CloudOrc/SolidUI/pkgs/container/solidui%2Fsolidui-web | ||
https://github.com/CloudOrc/SolidUI/pkgs/container/solidui%2Fsolidui-entrance | ||
https://github.com/CloudOrc/SolidUI/pkgs/container/solidui%2Fsoliduimodelui | ||
|
||
|
46 changes: 46 additions & 0 deletions
46
...-CN/docusaurus-plugin-content-docs/current/development/docker-images-publish.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
id: 'development-docker' | ||
title: 'Docker 发布镜像' | ||
sidebar_position: 8 | ||
--- | ||
|
||
# SolidUI Docker 发布镜像 | ||
|
||
## 1.前置条件 | ||
|
||
[Docker](https://docs.docker.com/engine/install/) 1.13.1+ | ||
|
||
* 方式1:从官网下载地址: https://github.com/CloudOrc/SolidUI/releases ,下载对应的安装包(整体安装包)。 | ||
* 方式2:根据SolidUI 自行编译出项目安装包。 | ||
|
||
|
||
|
||
## 2. 创建镜像 | ||
|
||
[Docker Build](development-docker) | ||
|
||
## 3. 发布镜像 | ||
|
||
```shell | ||
使用 SolidUI 的管理员账户登录 | ||
docker login ghcr.io -u dlimeng -p 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 | ||
|
||
docker tag solidui-entrance:x.x.x ghcr.io/cloudorc/solidui/solidui-entrance:x.x.x | ||
|
||
docker tag solidui-web:x.x.x ghcr.io/cloudorc/solidui/solidui-web:x.x.x | ||
|
||
docker tag soliduimodelui:x.x.x ghcr.io/cloudorc/solidui/soliduimodelui:x.x.x | ||
|
||
|
||
docker push ghcr.io/cloudorc/solidui/solidui-entrance:x.x.x | ||
|
||
docker push ghcr.io/cloudorc/solidui/solidui-web:x.x.x | ||
|
||
docker push ghcr.io/cloudorc/solidui/soliduimodelui:x.x.x | ||
``` | ||
|
||
## 4. 测试 | ||
镜像发布后,您可以在以下链接查看最新的镜像: | ||
https://github.com/CloudOrc/SolidUI/pkgs/container/solidui%2Fsolidui-web | ||
https://github.com/CloudOrc/SolidUI/pkgs/container/solidui%2Fsolidui-entrance | ||
https://github.com/CloudOrc/SolidUI/pkgs/container/solidui%2Fsoliduimodelui |