fix(ci): target the golang runner, generic docker runner retired
This commit is contained in:
@@ -15,7 +15,11 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build and push image
|
name: Build and push image
|
||||||
runs-on: docker
|
# golang, not a retired generic "docker" runner -- this repo is Go, and
|
||||||
|
# every runner now carries its own dind sidecar to build/push that
|
||||||
|
# repo's images. `container.image` below overrides the runner's own
|
||||||
|
# default (golang:1.25-bookworm) with docker:27-cli for this job only.
|
||||||
|
runs-on: golang
|
||||||
container:
|
container:
|
||||||
image: docker:27-cli
|
image: docker:27-cli
|
||||||
# No `options: --network host` here -- act_runner ignores that per-job
|
# No `options: --network host` here -- act_runner ignores that per-job
|
||||||
|
|||||||
@@ -12,7 +12,8 @@
|
|||||||
# .forgejo/workflows/ specifically appears unsupported on this instance/version,
|
# .forgejo/workflows/ specifically appears unsupported on this instance/version,
|
||||||
# not workflow detection being off in general.
|
# not workflow detection being off in general.
|
||||||
#
|
#
|
||||||
# runs-on: docker matches the only label the cluster runner declares.
|
# runs-on: golang -- the generic "docker" runner was retired in favor of
|
||||||
|
# per-language runners (golang/node/rust), each with its own dind sidecar.
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -24,7 +25,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
verify:
|
verify:
|
||||||
name: Test, vet, build
|
name: Test, vet, build
|
||||||
runs-on: docker
|
runs-on: golang
|
||||||
container:
|
container:
|
||||||
image: golang:1.25-bookworm
|
image: golang:1.25-bookworm
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user