From e94af6018c09b7f600ef46fe0303b6cad3200a3f Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 30 May 2023 15:37:07 +0200 Subject: [PATCH] replace ubuntu-latest with docker for clarity # Conflicts: # v1.19/admin/config-cheat-sheet.md --- admin/actions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/actions.md b/admin/actions.md index 5ce7659b..fe33f5f8 100644 --- a/admin/actions.md +++ b/admin/actions.md @@ -103,7 +103,7 @@ Adding the `.forgejo/workflows/demo.yaml` file to the test repository: on: [push] jobs: test: - runs-on: ubuntu-latest + runs-on: docker steps: - run: echo All Good ``` @@ -128,7 +128,7 @@ If no `Forgejo runner` is available, `Forgejo` will wait for one to connect and The jobs defined in the files found in `.forgejo/workflows` specify the environment they need to run with `runs-on`. Each `Forgejo runner` declares, with the `--labels` option, which one they support so `Forgejo` knows to submit jobs accordingly. For instance if a job has: ```yaml -runs-on: ubuntu-latest +runs-on: docker ``` the job will be submitted to a runner that registered with `--labels docker:docker://node:16-bullseye`.