fix: 移除 CI container 配置,直接在 host 运行 #16

Merged
xiaoxia merged 1 commits from fix/ci-remove-container into main 2026-06-26 18:40:38 +08:00
Owner

问题

act-runner 在执行 CI 时尝试从 Docker Hub 拉取 xiaoxia-ci-python:3.12 镜像,但该镜像只在本地构建,未推送到远程仓库。

解决方案

移除 container: xiaoxia-ci-python:3.12 配置,让 CI 直接在 host 上运行。构建服务器已预装所需的 Python 和工具,无需容器化。

优势

  • 避免镜像拉取失败问题
  • 执行更快(无需容器启动开销)
  • 简化维护
## 问题 act-runner 在执行 CI 时尝试从 Docker Hub 拉取 `xiaoxia-ci-python:3.12` 镜像,但该镜像只在本地构建,未推送到远程仓库。 ## 解决方案 移除 `container: xiaoxia-ci-python:3.12` 配置,让 CI 直接在 host 上运行。构建服务器已预装所需的 Python 和工具,无需容器化。 ## 优势 - 避免镜像拉取失败问题 - 执行更快(无需容器启动开销) - 简化维护
xiaoxia added 1 commit 2026-06-26 18:40:18 +08:00
fix(ci): remove container field to run on host directly
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 0s
Tests / test (pull_request) Failing after 0s
Tests / lint (pull_request) Failing after 0s
8575ee772f
xiaoxia merged commit c393c38d89 into main 2026-06-26 18:40:38 +08:00
Sign in to join this conversation.