mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 14:44:46 +00: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 utilitiesbun-node:baseplus Bun and Node.js 24rust:bun-nodeplus Rust (stable, minimal profile)tauri-linux:rustplus Tauri Linux build dependenciespublish:bun-nodeplus 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.
--pushpublishes 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-dockerwith privileged mode).