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.
runner:
image:
repository: code.forgejo.org/forgejo/runner
tag: "6"
repository: forgejo.riotpiao.com/rock/forgejo-runner-node
tag: "latest"
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:
+3 -3
View File
@@ -6,10 +6,10 @@
# Install Node.js/docker in workflow steps as needed.
runner:
image:
repository: code.forgejo.org/forgejo/runner
tag: "6"
repository: forgejo.riotpiao.com/rock/forgejo-runner-rust
tag: "latest"
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:
image:
repository: code.forgejo.org/forgejo/runner
tag: "6"
repository: forgejo.riotpiao.com/rock/forgejo-runner-golang
tag: "latest"
name: golang-runner
# Label image is what workflow steps run in (NOT the runner daemon image).
# golang:1.26-bookworm: Debian, root, apt-get, Go, git.
# TODO: Switch to custom image once build-runner-images.yml pushes images
labels: "golang:docker://golang:1.26-bookworm"
# Label image is what workflow steps run in.
# Custom image: golang:1.26 + Node.js + Docker pre-installed.
# Image Updater will track and update the :latest tag automatically.
labels: "golang:docker://forgejo.riotpiao.com/rock/forgejo-runner-golang:latest"
forgejoUrl: http://forgejo-gitea-http.cicd.svc.cluster.local:3000
tokenSecret: runner-token
resources: