fix(ci): pin docker-build jobs to docker-capable runners #601

Closed
hongming-pc2 wants to merge 1 commits from infra/576-docker-runner-label into main
2 changed files with 12 additions and 2 deletions

View File

@ -54,7 +54,11 @@ env:
jobs:
build-and-push:
name: Build & push canvas image
runs-on: ubuntu-latest
# Pin to docker-capable runners (self-hosted + docker label).
# Per gitea-operational-quirks.md §3: Hetzner act_runner containers
# register labels self-hosted + ubuntu-latest + docker. Only runners
# with docker label have /var/run/docker.sock mounted.
runs-on: [self-hosted, docker]
# Phase 3 (RFC #219 §1): surface broken workflows without blocking.
continue-on-error: true
steps:

View File

@ -52,7 +52,13 @@ env:
jobs:
build-and-push:
runs-on: ubuntu-latest
# Pin to docker-capable runners (self-hosted + docker label).
# Per gitea-operational-quirks.md §3: Hetzner act_runner containers
# register labels self-hosted + ubuntu-latest + docker. Only runners
# with docker label have /var/run/docker.sock mounted. The previous
# `runs-on: ubuntu-latest` coin-flipped between docker-capable and
# non-docker runners, causing Verify Docker daemon access to fail.
runs-on: [self-hosted, docker]
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2