ci: enable custom runner images with node.js and docker pre-installed

This commit is contained in:
2026-09-07 09:29:20 -07:00
parent 038cf40fe5
commit c31eaa6187
3 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -6,10 +6,10 @@
# Install docker in workflow steps as needed. # Install docker in workflow steps as needed.
runner: runner:
image: image:
repository: code.forgejo.org/forgejo/runner repository: forgejo.riotpiao.com/rock/forgejo-runner-node
tag: "6" tag: "latest"
name: node-runner name: node-runner
labels: "node:docker://node:22-bookworm" labels: "node:docker://forgejo.riotpiao.com/rock/forgejo-runner-node:latest"
# GC CronJob renders only from the default (golang) values to avoid duplicates # GC CronJob renders only from the default (golang) values to avoid duplicates
gc: gc:
+3 -3
View File
@@ -6,10 +6,10 @@
# Install Node.js/docker in workflow steps as needed. # Install Node.js/docker in workflow steps as needed.
runner: runner:
image: image:
repository: code.forgejo.org/forgejo/runner repository: forgejo.riotpiao.com/rock/forgejo-runner-rust
tag: "6" tag: "latest"
name: rust-runner name: rust-runner
labels: "rust:docker://rust:1-bookworm" labels: "rust:docker://forgejo.riotpiao.com/rock/forgejo-runner-rust:latest"
+6 -6
View File
@@ -1,12 +1,12 @@
runner: runner:
image: image:
repository: code.forgejo.org/forgejo/runner repository: forgejo.riotpiao.com/rock/forgejo-runner-golang
tag: "6" tag: "latest"
name: golang-runner name: golang-runner
# Label image is what workflow steps run in (NOT the runner daemon image). # Label image is what workflow steps run in.
# golang:1.26-bookworm: Debian, root, apt-get, Go, git. # Custom image: golang:1.26 + Node.js + Docker pre-installed.
# TODO: Switch to custom image once build-runner-images.yml pushes images # Image Updater will track and update the :latest tag automatically.
labels: "golang:docker://golang:1.26-bookworm" labels: "golang:docker://forgejo.riotpiao.com/rock/forgejo-runner-golang:latest"
forgejoUrl: http://forgejo-gitea-http.cicd.svc.cluster.local:3000 forgejoUrl: http://forgejo-gitea-http.cicd.svc.cluster.local:3000
tokenSecret: runner-token tokenSecret: runner-token
resources: resources: