ci(gitea): run CI in a prebuilt PHP image instead of setup-php bootstrap

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AqpXh3hQMMaC74pTjFq4it
This commit is contained in:
peptiderepo-ops
2026-10-24 09:49:14 +00:00
parent 507f8addab
commit 1888122a74
7 changed files with 74 additions and 8 deletions

6
ci-image/build.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
# Build peptide-ci-php into the gitea-dind daemon the shared runner uses.
set -e
TAG=peptide-ci-php:2026-10
docker exec -i gitea-dind docker build -t "$TAG" - < "$(dirname "$0")/Dockerfile"
docker exec gitea-dind docker image inspect "$TAG" --format '{{.Id}} {{.Size}}'