Skip to content

Commit

Permalink
Merge pull request #68 from dlimeng/dev
Browse files Browse the repository at this point in the history
fix docker publish
  • Loading branch information
dlimeng authored Oct 24, 2023
2 parents 27ad769 + ad8b5ad commit bebc1d1
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 0 deletions.
47 changes: 47 additions & 0 deletions docs/development/docker-images-publish.md
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


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

0 comments on commit bebc1d1

Please sign in to comment.