Commit Graph

10 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
a3c66586af 移除 BuildKit 依赖,保留阿里云镜像源优化
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 4m24s
2026-01-20 09:34:20 +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
35a1000c18 使用 docker compose 替代 docker-compose 命令
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 13m2s
2026-01-19 16:31:13 +08:00
fe0e98df69 回到容器模式使用自定义镜像
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 0s
2026-01-19 16:24:11 +08:00
dd8d802279 使用原生 git 命令替代 actions/checkout
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 0s
2026-01-19 16:22:45 +08:00
9e67914b1b 修正 Docker login 命令格式
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 4s
2026-01-19 16:07:57 +08:00
a996c604dd 使用宿主机 Act Runner 直接执行部署
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 1m21s
2026-01-19 16:05:25 +08:00
38a9a81bae 使用 docker 标签并指定容器镜像
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 15s
2026-01-19 15:04:52 +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