ci: fix runner label - use 'rust' instead of non-existent 'docker'

BUG FOUND: Workflow was requesting 'runs-on: docker' but Forgejo only has:
  - golang (golang:1.26-bookworm + dind)
  - rust (rust:1.83-bookworm + dind)
  - node (node:22-bookworm)

No 'docker' runner exists, so CI hung indefinitely waiting for unavailable runner.

FIX: Changed to 'runs-on: rust'
Rationale:
   Rust toolchain pre-installed (no cargo install needed)
   Docker-in-Docker available (for docker build + push)
   2 CPU, 4GB RAM limits (sufficient for Rust builds)
   1.83-bookworm base image (production-ready)
   Perfect for Rust projects

Result: CI will now acquire the correct runner and complete builds in 5-10 minutes

See .forgejo/README.md for runner reference guide
This commit is contained in:
2026-09-05 15:08:12 -07:00
parent 7a71c4a73f
commit 553f7b0569
2 changed files with 19 additions and 1 deletions
+15
View File
@@ -58,6 +58,21 @@ export REGISTRY_TOKEN='<your-token>'
- ✅ Deterministic behavior - ✅ Deterministic behavior
- ✅ Easy to debug - ✅ Easy to debug
**Runner Selection**:
Workflow uses: `runs-on: rust`
Available runners in Forgejo:
- `golang` - golang:1.26-bookworm + dind (for Go projects)
- `rust` - rust:1.83-bookworm + dind (✅ for Rust projects)
- `node` - node:22-bookworm (for Node.js projects)
Why `rust` for poimen-memory:
- ✅ Pre-installed Rust toolchain
- ✅ Docker-in-Docker (dind) for image builds
- ✅ 2 CPU, 4GB RAM limits (sufficient)
- ✅ 1.83-bookworm base (production-ready)
## CI Status ## CI Status
Check latest build: Forgejo repository → Actions tab Check latest build: Forgejo repository → Actions tab
+4 -1
View File
@@ -8,7 +8,10 @@ on:
jobs: jobs:
build-and-push: build-and-push:
name: Build and Push Image name: Build and Push Image
runs-on: docker # Use 'rust' runner (not 'docker')
# Available runners in Forgejo: golang, rust, node
# rust runner provides: Rust 1.83-bookworm + Docker-in-Docker for image builds
runs-on: rust
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4