Add CI builder image and use it in the pipeline

builder.Dockerfile bakes the build step's dependencies into
git.teletype.hu/internal/* so the pipeline no longer installs
packages on every run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 19:17:14 +02:00
co-authored by Claude Fable 5
parent f3dce4f08a
commit fb37e3a081
3 changed files with 48 additions and 9 deletions
+1 -5
View File
@@ -6,12 +6,8 @@ steps:
- make ci-version
- name: build
image: rust:1-alpine
image: git.teletype.hu/internal/bevy-builder:latest
commands:
- apk add --no-cache musl-dev zip make curl
- rustup target add wasm32-unknown-unknown
- WB=$(grep -o 'WASM_BINDGEN_VERSION *= *[0-9.]*' Makefile | grep -o '[0-9.]*$')
- curl -sSL "https://github.com/rustwasm/wasm-bindgen/releases/download/$${WB}/wasm-bindgen-$${WB}-x86_64-unknown-linux-musl.tar.gz" | tar xz -C /usr/local/bin --strip-components=1
- make ci-export
- name: upload