- 品牌替换:OpenCode/opencode → AirCoding/aircoding(16+ 文件) - Logo ASCII art:修复 left/right 行数不匹配导致的启动崩溃 - 启动诊断:添加 OPENCODE_PRINT_TIMING 计时探针 - dev 模式默认 --pure 跳过外部插件加载 - AGENTS.md 模板:追加 AirCoding 多 Agent 专项段落 - architect prompt + plugin:强化 AGENTS.md 产出验证
39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
# CI containers
|
|
|
|
Prebuilt images intended to speed up GitHub Actions jobs by baking in
|
|
large, slow-to-install dependencies. These are designed for Linux jobs
|
|
that can use `job.container` in workflows.
|
|
|
|
Images
|
|
|
|
- `base`: Ubuntu 24.04 with common build tools and utilities
|
|
- `bun-node`: `base` plus Bun and Node.js 24
|
|
- `rust`: `bun-node` plus Rust (stable, minimal profile)
|
|
- `tauri-linux`: `rust` plus Tauri Linux build dependencies
|
|
- `publish`: `bun-node` plus Docker CLI and AUR tooling
|
|
|
|
Build
|
|
|
|
```
|
|
REGISTRY=ghcr.io/anomalyco TAG=24.04 bun ./packages/containers/script/build.ts
|
|
REGISTRY=ghcr.io/anomalyco TAG=24.04 bun ./packages/containers/script/build.ts --push
|
|
```
|
|
|
|
Workflow usage
|
|
|
|
```
|
|
jobs:
|
|
build-cli:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ghcr.io/anomalyco/build/bun-node:24.04
|
|
```
|
|
|
|
Notes
|
|
|
|
- These images only help Linux jobs. macOS and Windows jobs cannot run
|
|
inside Linux containers.
|
|
- `--push` publishes multi-arch (amd64 + arm64) images using Buildx.
|
|
- If a job uses Docker Buildx, the container needs access to the host
|
|
Docker daemon (or `docker-in-docker` with privileged mode).
|