Files
AirCoding/packages/containers
airlongdian c4f9fe109e fix: logo 右半部分从 CODING 改为 CODE
去掉难以正确渲染的 N 和 G 字母,右半部分简化为 CODE(4 字母),
与左半部分 AIR 组合为 AIR CODE。
2026-06-14 09:54:53 +08:00
..

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).