ci: 添加 Gitea Actions 自动构建 Docker 镜像工作流

This commit is contained in:
Antigravity committed 2026-09-19 11:21:40 +08:00
1 parent b3b4c5d7e8
commit 1e4b4979bf
3 files changed
+55

No files matched your search

+9
View File
@@ -11,6 +11,15 @@
## 构建方法
### 本地构建
```bash
docker build -t webman:8.2 .
```
### Gitea CI/CD 自动构建
已配置 `.gitea/workflows/build.yaml`。每次推送到 `master` / `main` 或推送 tag(如 `v1.0.0`)时,Gitea Actions 会自动构建并推送到 Gitea 镜像仓库:
- **Registry**: `git.openlocalpdf.com:222/gitea/webman-docker:latest`
- 确保 Gitea 仓库已启用 Actions 且部署有对应 Runner(如 act_runner)。