Migrate Forgejo runner to Kubernetes with DinD #60
3 changed files with 3 additions and 2 deletions
Use k8s label for k8s runner testing
Some checks failed
Build Container / build (push) Failing after 20s
Some checks failed
Build Container / build (push) Failing after 20s
Differentiate k8s runner from host runner with unique label. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
commit
1f595b6041
|
|
@ -15,7 +15,7 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
runs-on: k8s
|
||||
steps:
|
||||
- name: Parse tag
|
||||
id: parse
|
||||
|
|
|
|||
1
.github/actionlint.yaml
vendored
1
.github/actionlint.yaml
vendored
|
|
@ -2,3 +2,4 @@ self-hosted-runner:
|
|||
labels:
|
||||
- ubuntu-latest
|
||||
- docker
|
||||
- k8s
|
||||
|
|
|
|||
|
|
@ -13,5 +13,5 @@ type: Opaque
|
|||
stringData:
|
||||
FORGEJO_URL: "https://forge.ops.eblu.me"
|
||||
RUNNER_NAME: "k8s-runner"
|
||||
RUNNER_LABELS: "docker:docker://registry.ops.eblu.me/blumeops/forgejo-runner:v2.1.3"
|
||||
RUNNER_LABELS: "k8s:docker://registry.ops.eblu.me/blumeops/forgejo-runner:v2.1.3"
|
||||
RUNNER_TOKEN: "{{ op://vg6xf6vvfmoh5hqjjhlhbeoaie/w3663ffnvkewbftncqxtcpeavy/runner_reg }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue