mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-20 14:53:42 +00:00
A runs-on label only names whatever image the runner maps it to, so `ubuntu-22.04:docker://node:24` reported `ubuntu22` on Debian, and `ubuntu-latest` needed a hardcoded release that must follow GitHub's move to 26.04. `ImageOS` now comes from the job env, the image env, an Ubuntu `os-release` or an image tag naming a release, else stays unset like on GitHub's self-hosted runners. Reviewed-on: https://gitea.com/gitea/runner/pulls/1419 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: silverwind <[email protected]>