8c72291307
Adds a `buildTemplate` CI job that builds and publishes the `base` template through the e2b CLI, running alongside the existing DockerHub image push (renamed to `buildAndPushImage`). For security, the CLI is built from source in this repo rather than installing the published `@e2b/cli` package; this build-and-global-install logic lives in a reusable composite action at `.github/actions/build-cli` so it can be shared across workflows. Removes the static `templates/base/e2b.toml` since template config is now driven by the CLI invocation, and switches the Dockerfile's `node` user/group creation to system accounts (`-r`). ## Usage Any workflow can build and install the CLI globally with a single step: ```yaml steps: - uses: actions/checkout@v4 - uses: ./.github/actions/build-cli - run: e2b template create base --memory-mb 512 ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>