replace ubuntu-latest with docker for clarity

This commit is contained in:
Earl Warren 2023-05-30 15:16:16 +02:00
parent df36663bb0
commit efb633bec9
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
5 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@ function download() {
function register() {
local forgejo="$1"
docker exec --user 1000 forgejo forgejo actions generate-runner-token > forgejo-runner-token
timeout --signal=KILL 30 forgejo-runner register --no-interactive --instance "$forgejo" --name runner --token $(cat forgejo-runner-token) --labels ubuntu-latest:docker://node:16-buster,self-hosted
timeout --signal=KILL 30 forgejo-runner register --no-interactive --instance "$forgejo" --name runner --token $(cat forgejo-runner-token) --labels docker:docker://node:16-bullseye,ubuntu-latest:docker://node:16-buster,self-hosted
}
function run() {

View file

@ -1,7 +1,7 @@
on: [push]
jobs:
ls:
runs-on: ubuntu-latest
runs-on: docker
steps:
- uses: actions/checkout@v3
- run: |

View file

@ -1,7 +1,7 @@
on: [push]
jobs:
test:
runs-on: ubuntu-latest
runs-on: docker
container:
image: alpine:3.18
steps:

View file

@ -1,6 +1,6 @@
on: [push]
jobs:
test:
runs-on: ubuntu-latest
runs-on: docker
steps:
- run: echo All Good

View file

@ -2,7 +2,7 @@ on: [push]
jobs:
test:
runs-on: ubuntu-latest
runs-on: docker
services:
pgsql: