Commit Graph

9 Commits

Author SHA1 Message Date
4d86799448 全面优化 Docker 构建和部署流程
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 1s
- Dockerfile.api/worker: 添加阿里云 Alpine 镜像源加速(构建+运行阶段)
- Dockerfile.api/worker: 提前设置 Go 环境变量(GOPROXY、CGO_ENABLED)
- Dockerfile.api: 移除 curl 依赖,改用 Alpine 自带 wget
- 工作流: 添加 Docker Hub 镜像加速(3个国内源)
- 工作流: 修复部署目录不存在问题(自动创建+复制配置)

预期构建时间:从 3+ 小时降低到 15-20 分钟
2026-01-20 09:43:42 +08:00
2336b140cc 优化 Docker 构建:启用 BuildKit + 使用阿里云 Alpine 镜像源加速
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 4s
2026-01-20 09:33:24 +08:00
20a80982fe 固定 Alpine 版本为 3.19 以解决包兼容性问题
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 3h9m41s
2026-01-19 17:42:41 +08:00
5be74f2698 修正编译命令:编译整个目录而不是单个文件
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 13m37s
2026-01-19 17:26:43 +08:00
08736d2692 更新到 Go 1.25.6
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 4m30s
2026-01-19 17:17:27 +08:00
919d4350d0 在所有 Go 命令中设置 GOTOOLCHAIN=auto
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 4s
2026-01-19 17:14:12 +08:00
109c9f014b 设置 GOTOOLCHAIN=auto 支持自动工具链管理
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 56s
2026-01-19 17:11:36 +08:00
627ca54c65 添加国内 Go 代理加速依赖下载
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 4s
2026-01-19 17:08:39 +08:00
589197e284 添加 Docker 和 CI/CD 配置(无 SSH 方案)
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 0s
2026-01-19 14:56:40 +08:00