# GitHub ホステッド ランナー リファレンス

仕様やカスタマイズ オプションなど、 GitHubホストランナーに関する情報を検索します。

## サポートされているランナーとハードウェアリソース

各種 GitHub ホステッド ランナーは、パブリックリポジトリとプライベートリポジトリで利用できます。

使用できるランナーのリストについては、以下を参照してください。

* [
  **パブリック** リポジトリ用の標準ランナー](#standard-github-hosted-runners-for-public-repositories)
* [**プライベート** リポジトリの標準ランナー](#standard-github-hosted-runners-for--private-repositories)

GitHub-hosted Linux ランナーは、Android SDK ツールのハードウェア アクセラレーションに対応しており、Android テストを大幅に高速に実行でき、使用分数も少なくなります。 Android のハードウェア アクセラレーションの詳細については、Android Developers ドキュメントの「[Android Emulator のハードウェア アクセラレーションを設定する](https://developer.android.com/studio/run/emulator-acceleration)」を参照してください。

> \[!NOTE]
> `-latest` ランナー イメージは、GitHubが提供する最新の安定したイメージであり、オペレーティング システム ベンダーから入手できるオペレーティング システムの最新バージョンではない可能性があります。

> \[!WARNING]
> ベータ版および非推奨のイメージは、"現状のまま"、"保証なし"、"利用可能な状態" で提供され、サービス レベル アグリーメントと保証から除外されます。 ベータ版のイメージは、カスタマー サポートでカバーされない場合があります。

### パブリック リポジトリ向けの標準 GitHub ホスト型ランナー

パブリック リポジトリの場合、次の表に示すワークフロー ラベルを使用するジョブは、関連する仕様で実行されます。
単一CPUランナーを除き、各GitHubホストランナーは、GitHub によってホストされる新しい仮想マシン（VM）です。 Single-CPUランナーは、共有VM上のコンテナー内でホストされます。[GitHub ホステッド ランナー リファレンス](/ja/actions/reference/runners/github-hosted-runners#single-cpu-runners)を参照してください。 標準の GitHubホストランナーの使用は無料で、パブリック リポジトリでは無制限です。

<table style="width:100%">
  <thead>
    <tr>
      <th scope="col">
<b>仮想マシン/コンテナー</b></th>
      <th scope="col">
<b>プロセッサ (CPU)</b></th>
      <th scope="col">
<b>メモリ (RAM)</b></th>
      <th scope="col">
<b>ストレージ (SSD)</b></th>
      <th scope="col">
<b>Architecture</b></th>
      <th scope="col">
<b>ワークフロー ラベル</b></th>
    </tr>
  </thead>
  <tbody>
    <tr>
          <td>Linux</td>
          <td>1</td>
          <td>5 GB</td>
          <td>14 GB</td>
          <td> x64 </td>
          <td>
            <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md">ubuntu-slim</a></code>
          </td>
        </tr>
    <tr>
      <td>Linux</td>
      <td>4</td>
      <td>16 GB</td>
      <td>14 GB</td>
      <td> x64 </td>
      <td>

```
    <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md">ubuntu-latest</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md">ubuntu-24.04</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md">ubuntu-22.04</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2604-Readme.md">ubuntu-26.04</a></code> (パブリック プレビュー) </td>
</tr>
<tr>
  <td>Windows</td>
  <td>4</td>
  <td>16 GB</td>
  <td>14 GB</td>
  <td> x64 </td>
  <td>
          
    <code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md">windows-latest</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md">windows-2025</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-VS2026-Readme.md">windows-2025-vs2026</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md">windows-2022</a></code></td>
</tr>
<tr>
  <td>Linux</td>
  <td>4</td>
  <td>16 GB</td>
  <td>14 GB</td>
  <td> arm64 </td>
  <td>
          
    <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Arm64-Readme.md">ubuntu-24.04-arm</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Arm64-Readme.md">ubuntu-22.04-arm</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2604-Arm64-Readme.md">ubuntu-26.04-arm</a></code> (パブリック プレビュー) </td>
</tr>
<tr>
  <td>Windows</td>
  <td>4</td>
  <td>16 GB</td>
  <td>14 GB</td>
  <td>arm64</td>
  <td>
          
    <code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows11-Arm64-Readme.md">windows-11-arm</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows11-VS2026-Arm64-Readme.md">windows-11-vs2026-arm</a></code> (パブリック プレビュー) </td>
</tr>
<tr>
  <td>macOS</td>
  <td>4</td>
  <td>14 GB</td>
  <td>14 GB</td>
  <td> Intel </td>
  <td>
          
    <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md">macos-15-intel</a></code>, <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-26-Readme.md">macos-26-intel</a></code></td>
</tr>
<tr>
  <td>macOS</td>
  <td>3 (M1)</td>
  <td>7 GB</td>
  <td>14 GB</td>
  <td> arm64 </td>
  <td>
          
    <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md">macos-latest</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md">macos-14</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md">macos-15</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md">macos-26</a></code></td>
</tr>
```

  </tbody>

</table>

### 標準 GitHub ホスト型ランナーによる  プライベート リポジトリ

プライベート リポジトリの場合、次の表に示すワークフロー ラベルを使用するジョブは、関連する仕様を持つ仮想マシンで実行されます。 これらの通話には、GitHub アカウントに割り当てられた無料通話分が使用され、その後は分あたりの料金が課金されます。 「[アクションズ ランナーの価格](/ja/billing/reference/actions-runner-pricing)」を参照してください。

<table style="width:100%">
  <thead>
    <tr>
      <th scope="col">
<b>仮想マシン</b></th>
      <th scope="col">
<b>プロセッサ (CPU)</b></th>
      <th scope="col">
<b>メモリ (RAM)</b></th>
      <th scope="col">
<b>ストレージ (SSD)</b></th>
      <th scope="col">
<b>Architecture</b></th>
      <th scope="col">
<b>ワークフロー ラベル</b></th>
    </tr>
  </thead>
  <tbody>
    <tr>
          <td>Linux</td>
          <td>1</td>
          <td>5 GB</td>
          <td>14 GB</td>
          <td> x64 </td>
          <td>
            <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md">ubuntu-slim</a></code>
          </td>
        </tr>
    <tr>
      <td>Linux</td>
      <td>2</td>
      <td>8 GB</td>
      <td>14 GB</td>
      <td> x64 </td>
      <td>

```
    <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md">ubuntu-latest</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md">ubuntu-24.04</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md">ubuntu-22.04</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2604-Readme.md">ubuntu-26.04</a></code> (パブリック プレビュー) </td>
</tr>
<tr>
  <td>Windows</td>
  <td>2</td>
  <td>8 GB</td>
  <td>14 GB</td>
  <td> x64 </td>
  <td>
          
    <code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md">windows-latest</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md">windows-2025</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md">windows-2022</a></code></td>
</tr>
<tr>
  <td>Linux</td>
  <td>2</td>
  <td>8 GB</td>
  <td>14 GB</td>
  <td> arm64 </td>
  <td>
          
    <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Arm64-Readme.md">ubuntu-24.04-arm</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Arm64-Readme.md">ubuntu-22.04-arm</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2604-Arm64-Readme.md">ubuntu-26.04-arm</a></code> (パブリック プレビュー) </td>
</tr>
<tr>
  <td>Windows</td>
  <td>2</td>
  <td>8 GB</td>
  <td>14 GB</td>
  <td> arm64 </td>
  <td>
          
    <code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows11-Arm64-Readme.md">windows-11-arm</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows11-Arm64-VS2026-Readme.md">windows-11-vs2026-arm</a></code> (パブリック プレビュー) </td>
</tr>
<tr>
  <td>macOS</td>
  <td>4</td>
  <td>14 GB</td>
  <td>14 GB</td>
  <td> Intel </td>
  <td>
          
    <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md">macos-15-intel</a></code>, <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-26-Readme.md">macos-26-intel</a></code></td>
</tr>
<tr>
  <td>macOS</td>
  <td>3 (M1)</td>
  <td>7 GB</td>
  <td>14 GB</td>
  <td> arm64 </td>
  <td>
          
    <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md">macos-latest</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md">macos-14</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md">macos-15</a></code>、 <code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md">macos-26</a></code></td>
</tr>
```

  </tbody>
</table>

ワークフローログには、ジョブの実行に使用されたランナーが一覧表示されます。 詳しくは、「[ワークフロー実行の履歴を表示する](/ja/actions/how-tos/monitor-workflows/view-workflow-run-history)」をご覧ください。

### arm64 macOS ランナーの制限事項

* GitHub によって提供されるすべてのアクションは、arm64 GitHub ホストランナーと互換性があります。 ただし、コミュニティ アクションは arm64 と互換性がない場合があり、実行時に手動でインストールする必要があります。
* Apple の Virtualization Framework の制限により、入れ子になった仮想化はサポートされていません。
* 現在、macOS の大規模ランナーでは、Azure プライベート ネットワークや静的 IPなどのネットワーク機能は使用できません。
* Apple ではこの機能がサポートされていないため、arm64 macOS ランナーには、静的 UUID/UDID が割り当てされていません。 ただし、Intel MacOS ランナーには、静的 UDID、特に `4203018E-580F-C1B5-9525-B745CECA79EB` が割り当てられます。 ビルドをテストする予定の同じホストでビルドして署名する場合は、[開発プロビジョニング プロファイル](https://developer.apple.com/help/account/provisioning-profiles/create-a-development-provisioning-profile/)を使用して署名できます。 静的 UDID が必要な場合は、Intel ランナーを使用して、その UDID を Apple Developer アカウントに追加できます。

### シングルCPUランナー

Single-CPU GitHub ホストランナーは、パブリックリポジトリとプライベートリポジトリの両方で使用できます。 これらのランナーは、ワークフロー ラベル `ubuntu-slim`を使用して指定され、軽量な操作を実行するための低コストのオプションを提供します。 この種のランナーは、自動化タスク、発行操作、実行時間の短いジョブに最適化されています。 通常の重い CI/CD ビルドには適していません。

`ubuntu-slim` ランナーは、完全な VM インスタンスではなく、コンテナー内の Ubuntu Linux でアクション ワークフローを実行します。 ジョブが開始されると、 GitHub はそのジョブの新しいコンテナーを自動的にプロビジョニングします。 ジョブ内のすべてのステップはコンテナーで実行され、そのジョブのステップはランナーのファイル システムを使用して情報を共有できます。 ジョブが完了すると、コンテナーは自動的に使用停止になります。 各コンテナーは、ハイパーバイザー レベル 2 の分離を提供します。

> \[!NOTE]
> `ubuntu-slim` ランナーのコンテナーは、特権のないモードで実行されます。 つまり、ファイル システムのマウント、Docker イン Docker の使用、低レベルのカーネル機能へのアクセスなど、昇格された特権を必要とする一部の操作はサポートされていません。

`ubuntu-slim` ランナー イメージには、軽量タスクに適した最小限のツール セットがインストールされます。
`ubuntu-slim` イメージにインストールされているソフトウェアの詳細については、[](https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md) リポジトリの `actions/runner-images`を参照してください。

#### 使用制限

Single-CPU ランナーは、他の GitHubホストされている標準ランナーと同じコンカレンシー モデルに従います。 「[アクションの制限](/ja/actions/reference/limits#job-concurrency-limits-for-github-hosted-runners)」を参照してください。 ランナーのコンカレンシーは、プランによって決まります。

単一 CPU ランナーのジョブ タイムアウトは 15 分です。 ジョブはこの制限に達すると、強制的に終了され、失敗として扱われます。

### より大きなランナー

より大きなランナーは、 GitHub Team および GitHub Enterprise Cloud プランの組織や企業で使用できます。

より大きなランナーは、 [標準の GitHubホストランナー](/ja/actions/reference/runners/github-hosted-runners#supported-runners-and-hardware-resources)よりも多くのリソースを持つマネージド仮想マシンです。 これらには、次の高度な機能が用意されています。

* 追加の RAM、CPU、ディスク領域
* 静的 IP アドレス
* Azure プライベート ネットワーク
* ランナーをグループ化する機能
* 同時実行ワークフローをサポートするための自動スケール
* GPU 搭載ランナー

これらの より大きなランナー (larger runner) は GitHub によってホストされ、ランナー アプリケーションやその他のツールがプレインストールされています。

詳しくは、「[より大きなランナーの使用](/ja/actions/how-tos/manage-runners/larger-runners)」をご覧ください。

## 管理者特権

Linux と macOS のどちらの仮想マシンでも、パスワードレスの `sudo` が実行されます。 現在のユーザーより高い特権が必要なコマンドやインストール ツールを実行する必要がある場合は、パスワードを入力する必要なく、`sudo` を使うことができます。 詳細については、[Sudo のマニュアル](https://www.sudo.ws/man/1.8.27/sudo.man.html)を参照してください。

Windowsの仮想マシンは、ユーザアカウント制御（UAC）が無効化されて管理者として動作するように設定されています。 詳細については、Windows のドキュメントの「[ユーザー アカウントの制御のしくみ](https://docs.microsoft.com/windows/security/identity-protection/user-account-control/how-user-account-control-works)」を参照してください。

## IP アドレス

GitHub ActionsホストランナーGitHub使用する IP アドレス範囲の一覧を取得するには、GitHub REST API を使用します。 詳細については、`actions` エンドポイントの応答で `GET /meta` キーを参照してください。 詳しくは、「[メタデータ用 REST API エンドポイント](/ja/rest/meta/meta#get-github-meta-information)」をご覧ください。

Windows及びUbuntuのランナーはAzureでホストされており、そのためAzureのデータセンターと同じIPアドレスの範囲を持ちます。 macOS ランナーは、 GitHub独自の macOS クラウドでホストされています。

GitHubホストランナーには非常に多くの IP アドレス範囲があるため、内部リソースの許可リストとして使用することはお勧めしません。 代わりに、静的 IP アドレス範囲を持つ より大きなランナー、またはセルフホステッド ランナーを使用することをお勧めします。 詳細については、「[より大きなランナーの使用](/ja/actions/how-tos/manage-runners/larger-runners)」または「[セルフホステッド ランナー](/ja/actions/concepts/runners/self-hosted-runners)」を参照してください。

API によって返 GitHub Actions IP アドレスの一覧は、週に 1 回更新されます。

## GitHub でホストされるランナーの通信要件

GitHubホストランナーは、重要な通信操作を実行するために、GitHub所有エンドポイントへの接続を確立する必要があります。 加えて、アクション内で指定または利用する追加ネットワークへのアクセスも必要となる場合があります。

構成内のネットワーク間の GitHubホストランナーに対して適切な通信を行うために、次の通信が許可されていることを確認します。

> \[!NOTE]
> 一覧表示されているドメインの一部は、`CNAME` レコードを使用して構成されます。 ファイアウォールによっては、すべての `CNAME` レコードに対して規則を再帰的に追加する必要がある場合があります。 `CNAME` レコードは今後変更される可能性があり、一覧表示されているドメインのみが一定のままであることに注意してください。

**重要な操作に必要:**

```shell copy
github.com
api.github.com
*.actions.githubusercontent.com
```

**ダウンロード アクションに必要:**

```shell copy
codeload.github.com
```

**ジョブ サマリー、ログ、ワークフロー アーティファクト、キャッシュのアップロード/ダウンロードに必要:**

```shell copy
results-receiver.actions.githubusercontent.com
*.blob.core.windows.net
```

**ランナーのバージョン更新に必要なもの:**

```shell copy
objects.githubusercontent.com
objects-origin.githubusercontent.com
github-releases.githubusercontent.com
github-registry-files.githubusercontent.com
```

**OIDC トークンを取得するために必要:**

```shell copy
*.actions.githubusercontent.com
```

**パッケージまたはコンテナーを GitHub パッケージにダウンロードまたは発行するために必要:**

```shell copy
*.pkg.github.com
pkg-containers.githubusercontent.com
ghcr.io
```

**次の場合に必要です Git 大容量ファイルストレージ**

```shell copy
github-cloud.githubusercontent.com
github-cloud.s3.amazonaws.com
```

\*\*
Dependabot updates のジョブに必要\*\*

```shell copy
dependabot-actions.githubapp.com
```

**リリース資産のダウンロードに必要:**

```shell copy
release-assets.githubusercontent.com
```

**VNet に必要:**

```shell copy
api.snapcraft.io
*.core.windows.net
```

## ファイル システム

GitHub は、仮想マシン上の特定のディレクトリでアクションとシェル コマンドを実行します。 仮想マシン上のファイルパスは静的なものではありません。
GitHub、`home`、および`workspace`ディレクトリのファイル パスを構築するために提供`workflow`環境変数を使用します。

| ディレクトリ                                                | 環境変数                | 説明                                                                                |
| ----------------------------------------------------- | ------------------- | --------------------------------------------------------------------------------- |
| `home`                                                | `HOME`              | ユーザ関連のデータが含まれます。 たとえば、このディレクトリにはログイン試行からの認証情報を含めることができます。                         |
| `workspace`                                           | `GITHUB_WORKSPACE`  | アクションとシェルコマンドはこのディレクトリで実行されます。 このディレクトリの内容は、アクションによって変更することができ、後続のアクションでアクセスできます。 |
| `workflow/event.json`                                 | `GITHUB_EVENT_PATH` | ワークフローをトリガーした Webhook イベントの `POST` ペイロード。                                         |
| GitHub は、アクションが実行されるたびにこれを書き換えて、アクション間でファイルの内容を分離します。 |                     |                                                                                   |

ワークフローごとに作成 GitHub 環境変数の一覧については、「 [変数に情報を格納する](/ja/actions/how-tos/write-workflows/choose-what-workflows-do/use-variables)」を参照してください。

### Dockerコンテナのファイルシステム

Docker コンテナーで実行されるアクションには、`/github` パスの下に静的なディレクトリがあります。 ただし、Dockerコンテナ内のファイルパスを構築するには、既定の環境変数を使用することを強くお勧めします。

GitHub は、 `/github` パス プレフィックスを予約し、アクション用の 3 つのディレクトリを作成します。

* `/github/home`
* `/github/workspace` - **メモ:** GitHub Actions は既定の Docker ユーザー(root) で実行しなければなりません。 Dockerfile で `USER` 命令が設定されていないことを確認します。されている場合は、`GITHUB_WORKSPACE` にアクセスできません。
* `/github/workflow`