0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-23 22:20:43 -05:00

replace ubuntu-latest with docker for clarity

# Conflicts:
#	v1.19/admin/config-cheat-sheet.md
This commit is contained in:
Earl Warren 2023-05-30 15:37:07 +02:00 committed by Caesar Schinas
parent 09403ab573
commit e94af6018c
No known key found for this signature in database
GPG key ID: AE9108461BEA5ACF

View file

@ -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`.