Skip to content

Commit f1d891c

Browse files
authored
macOS-13, Ubuntu-20.04 were deprecated; Ubuntu-slim runs in unprivileged mode (#59590)
1 parent 3b6fd2f commit f1d891c

File tree

9 files changed

+14
-13
lines changed

9 files changed

+14
-13
lines changed

content/actions/how-tos/manage-runners/larger-runners/control-access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Runner groups are used to control which repositories can run jobs on your {% dat
2727
* **Runners at the enterprise level:** {% data reusables.actions.about-enterprise-level-runner-groups %}
2828
* **Runners at the organization level:** {% data reusables.actions.about-organization-level-runner-groups %}
2929

30-
For example, the following diagram has a runner group named `grp-ubuntu-20.04-16core` at the enterprise level. Before the repository named `octo-repo` can use the runners in the group, you must first configure the group at the enterprise level to allow access to the `octo-org` organization. You must then configure the group at the organization level to allow access to `octo-repo`.
30+
For example, the following diagram has a runner group named `grp-ubuntu-24.04-16core` at the enterprise level. Before the repository named `octo-repo` can use the runners in the group, you must first configure the group at the enterprise level to allow access to the `octo-org` organization. You must then configure the group at the organization level to allow access to `octo-repo`.
3131

3232
![Diagram showing a runner group defined at the enterprise level with an organization configuration that allows access for two repositories.](/assets/images/help/actions/hosted-runner-mgmt.png)
3333

content/actions/how-tos/manage-runners/larger-runners/use-larger-runners.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ Use the labels in the table below to run your workflows on the corresponding mac
8585

8686
{% data reusables.actions.runner-labels-implicit %}
8787

88-
In this example, the `runs-on` key sends the job to any available runner that has been assigned the `ubuntu-20.04-16core` label:
88+
In this example, the `runs-on` key sends the job to any available runner that has been assigned the `ubuntu-24.04-16core` label:
8989

9090
```yaml
9191
name: learn-github-actions
9292
on: [push]
9393
jobs:
9494
check-bats-version:
9595
runs-on:
96-
labels: ubuntu-20.04-16core
96+
labels: ubuntu-24.04-16core
9797
steps:
9898
- uses: {% data reusables.actions.action-checkout %}
9999
- uses: {% data reusables.actions.action-setup-node %}
@@ -148,7 +148,7 @@ name: learn-github-actions-testing
148148
on: [push]
149149
jobs:
150150
build:
151-
runs-on: macos-13-xlarge
151+
runs-on: macos-26-xlarge
152152
steps:
153153
- uses: {% data reusables.actions.action-checkout %}
154154
- name: Build

content/actions/reference/runners/github-hosted-runners.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ Single-CPU {% data variables.product.github %}-hosted runners are available in b
5050

5151
`ubuntu-slim` runners execute Actions workflows in Ubuntu Linux, inside a container rather than a full VM instance. When the job begins, {% data variables.product.github %} automatically provisions a new container for that job. All steps in the job execute in the container, allowing the steps in that job to share information using the runner's file system. When the job has finished, the container is automatically decommissioned. Each container provides hypervisor level 2 isolation.
5252

53+
> [!NOTE]
54+
> The container for `ubuntu-slim` runners runs in unprivileged mode. This means that some operations requiring elevated privileges—such as mounting file systems, using Docker-in-Docker, or accessing low-level kernel features—are not supported.
55+
5356
A minimal set of tools is installed on the `ubuntu-slim` runner image, appropriate for lightweight tasks. For details on what software is installed on the `ubuntu-slim` image, see the [README file](https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md) in the `actions/runner-images` repository.
5457

5558
#### Usage limits

content/actions/reference/workflows-and-actions/workflow-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ jobs:
953953
example_matrix:
954954
strategy:
955955
matrix:
956-
os: [ubuntu-22.04, ubuntu-20.04]
956+
os: [ubuntu-22.04, ubuntu-24.04]
957957
version: [10, 12, 14]
958958
runs-on: {% raw %}${{ matrix.os }}{% endraw %}
959959
steps:

data/reusables/actions/add-hosted-runner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
1. Click **New runner**, then click **{% octicon "mark-github" aria-hidden="true" aria-label="mark-github" %} New {% data variables.product.prodname_dotcom %}-hosted runner**.
22
1. Complete the required details to configure your new runner:
33

4-
* **Name:** Enter a name for your new runner. For easier identification, this should indicate its hardware and operating configuration, such as `ubuntu-20.04-16core`.
4+
* **Name:** Enter a name for your new runner. For easier identification, this should indicate its hardware and operating configuration, such as `ubuntu-24.04-16core`.
55
* **Platform:** Choose a platform from the available options. Once you've selected a platform, you will be able to choose a specific image.
66

77
If you are building a custom image, the platform that you select for your runner must match the platform of the image you want to build. The platform of the runner can be one of the following:

data/reusables/actions/jobs/example-runs-on-labels-and-groups.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
When you combine groups and labels, the runner must meet both requirements to be eligible to run the job.
22

3-
In this example, a runner group called `ubuntu-runners` is populated with Ubuntu runners, which have also been assigned the label `ubuntu-20.04-16core`. The `runs-on` key combines `group` and `labels` so that the job is routed to any available runner within the group that also has a matching label:
3+
In this example, a runner group called `ubuntu-runners` is populated with Ubuntu runners, which have also been assigned the label `ubuntu-24.04-16core`. The `runs-on` key combines `group` and `labels` so that the job is routed to any available runner within the group that also has a matching label:
44

55
```yaml
66
name: learn-github-actions
@@ -9,7 +9,7 @@ jobs:
99
check-bats-version:
1010
runs-on:
1111
group: ubuntu-runners
12-
labels: ubuntu-20.04-16core
12+
labels: ubuntu-24.04-16core
1313
steps:
1414
- uses: {% data reusables.actions.action-checkout %}
1515
- uses: {% data reusables.actions.action-setup-node %}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
| Runner Size | Architecture| Processor (CPU)| Memory (RAM) | Storage (SSD) | Workflow label |
22
| ------------| ------------| -------------- | ------------- | ------------- |--------------------------------------------------------------------------------------------------------------------------------------------------|
3-
| Large | Intel | 12 | 30 GB | 14 GB | <code>macos-latest-large</code>, <code>macos-13-large</code>, <code>macos-14-large</code>, <code>macos-15-large</code> (latest), <code>macos-26-large</code> ({% data variables.release-phases.public_preview %}) |
4-
| XLarge | arm64 (M2) | 5 (+ 8 GPU hardware acceleration) | 14 GB | 14 GB | <code>macos-latest-xlarge</code>, <code>macos-13-xlarge</code>, <code>macos-14-xlarge</code>, <code>macos-15-xlarge</code> (latest), <code>macos-26-xlarge</code> ({% data variables.release-phases.public_preview %}) |
3+
| Large | Intel | 12 | 30 GB | 14 GB | <code>macos-latest-large</code>, <code>macos-14-large</code>, <code>macos-15-large</code> (latest), <code>macos-26-large</code> ({% data variables.release-phases.public_preview %}) |
4+
| XLarge | arm64 (M2) | 5 (+ 8 GPU hardware acceleration) | 14 GB | 14 GB | <code>macos-latest-xlarge</code>, <code>macos-14-xlarge</code>, <code>macos-15-xlarge</code> (latest), <code>macos-26-xlarge</code> ({% data variables.release-phases.public_preview %}) |

data/reusables/actions/macos-runner-limitations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
* All actions provided by {% data variables.product.prodname_dotcom %} are compatible with arm64 {% data variables.product.prodname_dotcom %}-hosted runners. However, community actions may not be compatible with arm64 and need to be manually installed at runtime.
2-
* Nested-virtualization and Metal Performance Shaders (MPS) are not supported due to the limitation of Apple's Virtualization Framework.
2+
* Nested-virtualization is not supported due to the limitation of Apple's Virtualization Framework.
33
* Networking capabilities such as Azure private networking and assigning static IPs are not currently available for macOS larger runners.
44
* The arm64 macOS runners do not have a static UUID/UDID assigned to them because Apple does not support this feature. However, Intel MacOS runners are assigned a static UDID, specifically `4203018E-580F-C1B5-9525-B745CECA79EB`. If you are building and signing on the same host you plan to test the build on, you can sign with a [development provisioning profile](https://developer.apple.com/help/account/provisioning-profiles/create-a-development-provisioning-profile/). If you do require a static UDID, you can use Intel runners and add their UDID to your Apple Developer account.
55
{%- ifversion ghec %}

data/reusables/actions/supported-github-runners.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ For public repositories, jobs using the workflow labels shown in the table below
6868
<td>14 GB</td>
6969
<td> Intel </td>
7070
<td>
71-
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md">macos-13</a></code>,
7271
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md">macos-15-intel</a></code>
7372
</td>
7473
</tr>
@@ -158,7 +157,6 @@ For {% ifversion ghec %}internal and{% endif %} private repositories, jobs using
158157
<td>14 GB</td>
159158
<td> Intel </td>
160159
<td>
161-
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md">macos-13</a></code>,
162160
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md">macos-15-intel</a></code>
163161
</td>
164162
</tr>

0 commit comments

Comments
 (0)