docs: update documentation with CI image info

This commit is contained in:
2026-03-31 22:12:42 -07:00
parent b686c3673e
commit 941d857feb
3 changed files with 58 additions and 0 deletions
+20
View File
@@ -127,6 +127,26 @@ npm run db:setup-postgres
DATABASE_PROVIDER=sqlite DATABASE_URL=file:./prisma/ci.db npm run test:acceptance
```
### CI Runner Image
To speed up CI runs, the project uses a pre-built CI runner image with all dependencies pre-installed.
**Building the CI image locally:**
```bash
./scripts/build-ci-image.sh [tag]
```
**Using the CI image:**
- Workflows automatically use `ghcr.io/<repo>/ci-runner:latest` when available
- Falls back to `node:20-alpine` if image is not found
- Image is automatically rebuilt when `package.json` changes
**CI Image contains:**
- Node.js 20 Alpine
- All npm dependencies pre-installed
- Prisma client pre-generated
- System tools (bash, git, python, make, g++)
### CI/CD Pipeline
The project uses Gitea Actions for continuous integration: