enhance: add ubuntu-26.04 to the default labels (#1396)

Newly registered runners get an `ubuntu-26.04` label alongside the existing defaults.

Ref: https://gitea.com/gitea/runner/issues/1334
Reviewed-on: https://gitea.com/gitea/runner/pulls/1396
Reviewed-by: Lunny Xiao <[email protected]>
This commit is contained in:
bircni committed 2026-11-07 05:12:04 +00:00
1 parent 79faf5e55d
commit 9bb72bbe5c
2 files changed
+2

No files matched your search

+1
View File
@@ -89,6 +89,7 @@ const registerTokenEnvVar = "GITEA_RUNNER_REGISTRATION_TOKEN"
var defaultLabels = []string{
"ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest",
"ubuntu-26.04:docker://docker.gitea.com/runner-images:ubuntu-26.04",
"ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04",
"ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04",
}