Skip to content

Commit 810d9bf

Browse files
committed
docs: Translate and clarify Docker Hub publish workflow instructions and deployment steps in GitHub Actions
1 parent f6be7ec commit 810d9bf

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/publish-dockerhub.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Publish to Docker Hub
33
on:
44
push:
55
tags:
6-
- "v*" # 当推送版本标签时触发
7-
workflow_dispatch: # 允许手动触发
6+
- "v*" # Trigger when version tags are pushed
7+
workflow_dispatch: # Allow manual trigger
88
inputs:
99
version:
10-
description: "版本号 (例如: v1.0.0)"
10+
description: "Version number (e.g.: v1.0.0)"
1111
required: true
1212
default: "latest"
1313

@@ -87,33 +87,33 @@ jobs:
8787
body: |
8888
## 🚀 GC-QA-RAG ${{ steps.version.outputs.version }}
8989
90-
### 📦 Docker 镜像
90+
### 📦 Docker Images
9191
92-
本次发布包含以下 Docker 镜像:
92+
This release includes the following Docker images:
9393
9494
- `${{ env.DOCKERHUB_USERNAME }}/${{ env.PROJECT_NAME }}-server:${{ steps.version.outputs.version }}`
9595
- `${{ env.DOCKERHUB_USERNAME }}/${{ env.PROJECT_NAME }}-etl:${{ steps.version.outputs.version }}`
9696
- `${{ env.DOCKERHUB_USERNAME }}/${{ env.PROJECT_NAME }}-frontend:${{ steps.version.outputs.version }}`
9797
98-
### 🐳 快速部署
98+
### 🐳 Quick Deployment
9999
100100
```bash
101-
# 使用 Docker Hub 镜像部署 ETL 服务
101+
# Deploy ETL service using Docker Hub images
102102
cd sources/gc-qa-rag-etl/deploy
103-
# 编辑 docker-compose.dockerhub.yml 文件,取消环境变量注释并填入你的API密钥
104-
# 启动 ETL 服务
103+
# Edit docker-compose.dockerhub.yml file, uncomment environment variables and fill in your API keys
104+
# Start ETL service
105105
docker compose -f docker-compose.dockerhub.yml up -d
106106
107-
# 使用 Docker Hub 镜像部署 RAG 服务
107+
# Deploy RAG service using Docker Hub images
108108
cd sources/gc-qa-rag-server/deploy
109-
# 编辑 docker-compose.dockerhub.yml 文件,取消环境变量注释并填入你的API密钥
110-
# 启动 RAG 服务
109+
# Edit docker-compose.dockerhub.yml file, uncomment environment variables and fill in your API keys
110+
# Start RAG service
111111
docker compose -f docker-compose.dockerhub.yml up -d
112112
```
113113
114-
### 📚 文档
114+
### 📚 Documentation
115115
116-
- [部署指南](https://grapecity-ai.github.io/gc-qa-rag/zh/2-%E5%BC%80%E5%8F%91%E6%95%99%E7%A8%8B/1-Docker%E9%83%A8%E7%BD%B2/)
117-
- [项目文档](https://grapecity-ai.github.io/gc-qa-rag/)
116+
- [Deployment Guide](https://grapecity-ai.github.io/gc-qa-rag/en/2-development-tutorial/1-docker-deployment/)
117+
- [Project Documentation](https://grapecity-ai.github.io/gc-qa-rag/en/)
118118
draft: false
119119
prerelease: false

0 commit comments

Comments
 (0)