mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-12-01 00:05:56 +08:00
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 <xiaolunwen@gmail.com>
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user