mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-12-24 22:32:43 -05:00
replace ubuntu-latest with docker for clarity
# Conflicts: # v1.19/admin/config-cheat-sheet.md
This commit is contained in:
parent
09403ab573
commit
e94af6018c
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ Adding the `.forgejo/workflows/demo.yaml` file to the test repository:
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- run: echo All Good
|
- 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:
|
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
|
```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`.
|
the job will be submitted to a runner that registered with `--labels docker:docker://node:16-bullseye`.
|
||||||
|
|
Loading…
Reference in a new issue