lable self-hosted change to windows

This commit is contained in:
2026-08-23 11:34:10 +03:30
parent 8b462ea45a
commit a43c433d55
2 changed files with 4 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ cd C:\gitea-runner
--instance "http://127.0.0.1:3000" `
--token "<registration-token-from-gitea>" `
--name "windows-staging" `
--labels "self-hosted,windows"
--labels "windows:host"
```
Start (leave running, or install as a Windows service later):
@@ -208,6 +208,7 @@ On the Windows host, from repo `infrastructure/`:
| Symptom | Fix |
|---------|-----|
| `no matching online runner with label` | Start `act_runner.exe daemon`; confirm runner is **Online** in Gitea. `runs-on` must match a runner label exactly — workflow uses `windows` (register with `windows:host`). |
| Runner can't register on public IP | Use `http://127.0.0.1:3000` for `--instance` |
| Variable name rejected in Gitea | No `GITEA_*` / `GITHUB_*` prefixes; use `CLONE_HOST` |
| `server gave HTTP response to HTTPS client` | Add registry to Docker **insecure-registries**, restart Docker |