feat: multi-image runners — go, node, docker, deploy, godot

Replace single fat image with purpose-built images per workflow type.
Each image is lean: base (Alpine+AWS+git) → go/node/deploy extend it.
docker image standalone (dind base). godot for future game builds.
build-all.sh builds base first, then all others in parallel.
This commit is contained in:
2026-05-22 18:00:57 +01:00
parent c01049dd5b
commit 4be33e33f1
10 changed files with 199 additions and 78 deletions
+27
View File
@@ -0,0 +1,27 @@
# tinqs/ci godot — headless Godot for game builds and export
# Used by: ariki-game build pipeline (future)
# runs-on: godot
# Headless Godot 4.6 + export templates for Windows/Linux/Web.
ARG BASE_IMAGE=tinqs-runner-base:latest
FROM ${BASE_IMAGE}
ARG GODOT_VERSION=4.6.2
# Headless Godot editor (for --headless --export-all)
RUN curl -fsSL "https://github.com/godotengine/godot-builds/releases/download/${GODOT_VERSION}-stable/Godot_v${GODOT_VERSION}-stable_linux.x86_64.zip" \
-o /tmp/godot.zip && \
unzip -q /tmp/godot.zip -d /tmp && \
mv /tmp/Godot_v${GODOT_VERSION}-stable_linux.x86_64 /usr/local/bin/godot && \
chmod +x /usr/local/bin/godot && \
rm -f /tmp/godot.zip
# Export templates
RUN mkdir -p /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable && \
curl -fsSL "https://github.com/godotengine/godot-builds/releases/download/${GODOT_VERSION}-stable/Godot_v${GODOT_VERSION}-stable_export_templates.tpz" \
-o /tmp/templates.tpz && \
unzip -q /tmp/templates.tpz -d /tmp/templates && \
mv /tmp/templates/templates/* /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable/ && \
rm -rf /tmp/templates.tpz /tmp/templates
RUN godot --headless --version