From a60f247d6386dc38e1ca902f599fa9746a09bace Mon Sep 17 00:00:00 2001 From: Dlimeng <77954309@qq.com> Date: Wed, 25 Oct 2023 01:23:50 +0800 Subject: [PATCH] fix docker publish --- docs/development/docker-images-publish.md | 47 +++++++++++++++++++ .../development/docker-images-publish.md | 46 ++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 docs/development/docker-images-publish.md create mode 100644 i18n/zh-CN/docusaurus-plugin-content-docs/current/development/docker-images-publish.md diff --git a/docs/development/docker-images-publish.md b/docs/development/docker-images-publish.md new file mode 100644 index 00000000..b9ae1500 --- /dev/null +++ b/docs/development/docker-images-publish.md @@ -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 + + diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/development/docker-images-publish.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/development/docker-images-publish.md new file mode 100644 index 00000000..aee1ea52 --- /dev/null +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/development/docker-images-publish.md @@ -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 \ No newline at end of file