Dax Raad cd664a189b ci il y a 3 semaines
..
base 5cfb5fdd06 ci: add container build workflow il y a 3 semaines
bun-node cd664a189b ci il y a 3 semaines
publish 5cfb5fdd06 ci: add container build workflow il y a 3 semaines
rust 5cfb5fdd06 ci: add container build workflow il y a 3 semaines
script cd664a189b ci il y a 3 semaines
tauri-linux 5cfb5fdd06 ci: add container build workflow il y a 3 semaines
README.md cd664a189b ci il y a 3 semaines
tsconfig.json 5cfb5fdd06 ci: add container build workflow il y a 3 semaines

README.md

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