ci: move Linux jobs (backend, web, docker api/web) to self-hosted runner

POS stays on windows-latest (tag/manual only). Runner is registered on
the stage server, systemd-managed, labels [self-hosted, Linux, X64].
Goal: drop dependency on the 2000 GitHub-hosted minute quota — Windows
POS build now runs at most once per release tag.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
nurdotnet 2026-04-22 23:17:38 +05:00
parent bcbda1ae5d
commit 5dce324f24
2 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ concurrency:
jobs: jobs:
backend: backend:
name: Backend (.NET 8) name: Backend (.NET 8)
runs-on: ubuntu-latest runs-on: [self-hosted, linux]
services: services:
postgres: postgres:
image: postgres:16-alpine image: postgres:16-alpine
@ -50,7 +50,7 @@ jobs:
web: web:
name: Web (React + Vite) name: Web (React + Vite)
runs-on: ubuntu-latest runs-on: [self-hosted, linux]
defaults: defaults:
run: run:
working-directory: src/food-market.web working-directory: src/food-market.web

View file

@ -21,7 +21,7 @@ permissions:
jobs: jobs:
api: api:
name: API image name: API image
runs-on: ubuntu-latest runs-on: [self-hosted, linux]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -47,7 +47,7 @@ jobs:
web: web:
name: Web image name: Web image
runs-on: ubuntu-latest runs-on: [self-hosted, linux]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4