Uh oh!
There was an error while loading. Please reload this page.
build: GitHub Builder runner mappings - #25086
Conversation
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
docker-agent
left a comment
There was a problem hiding this comment.
Assessment: 🟡 NEEDS ATTENTION
Uh oh!
There was an error while loading. Please reload this page.
6ef9438 to
ef98c43Compare| ### Runner selection | ||
| The `runner` input accepts either a single GitHub-hosted Linux runner label or a |
There was a problem hiding this comment.
Is there a page we could link to in the GitHub docs that shows the available labels?
There was a problem hiding this comment.
Yes there is https://docs.github.com/en/actions/reference/runners/github-hosted-runners#supported-runners-and-hardware-resources and https://github.com/actions/partner-runner-images/#available-images but not sure about linking to these pages though 🤔
| newline-delimited platform mapping. A single label is used for every platform: | ||
| ```yaml | ||
| runner: ubuntu-24.04 | ||
| ``` | ||
| The default value is a platform mapping that uses GitHub-hosted Ubuntu runners: | ||
| ```yaml | ||
| runner: | | ||
| default=ubuntu-24.04 | ||
| linux/arm=ubuntu-24.04-arm | ||
| linux/arm64=ubuntu-24.04-arm | ||
| ``` |
There was a problem hiding this comment.
Suggest we re-order this to show the default first, and what it resolves to after.
| newline-delimited platform mapping. A single label is used for every platform: | |
| ```yaml | |
| runner: ubuntu-24.04 | |
| ``` | |
| The default value is a platform mapping that uses GitHub-hosted Ubuntu runners: | |
| ```yaml | |
| runner: | | |
| default=ubuntu-24.04 | |
| linux/arm=ubuntu-24.04-arm | |
| linux/arm64=ubuntu-24.04-arm | |
| ``` | |
| newline-delimited platform mapping. | |
| The default value is a platform mapping that uses GitHub-hosted Ubuntu runners: | |
| ```yaml | |
| runner: | | |
| default=ubuntu-24.04 | |
| linux/arm=ubuntu-24.04-arm | |
| linux/arm64=ubuntu-24.04-arm | |
| ``` | |
| In the platform job, the runner label resolves to a single value: | |
| ```yaml | |
| runner: ubuntu-24.04 | |
| ``` |
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
ef98c43 to
e79ee7eCompareUh oh!
There was an error while loading. Please reload this page.
follow-up docker/github-builder#188
The reusable workflows now accept either a GitHub-hosted Linux runner label or a newline-delimited platform mapping, while the legacy
auto,amd64, andarm64values are deprecated.