{"meta":{"title":"自托管运行程序","intro":"您可以托管自己的运行器，并自定义在 GitHub Actions 工作流中运行作业所使用的环境。","product":"GitHub Actions","breadcrumbs":[{"href":"/zh/enterprise-cloud@latest/actions","title":"GitHub Actions"},{"href":"/zh/enterprise-cloud@latest/actions/concepts","title":"概念"},{"href":"/zh/enterprise-cloud@latest/actions/concepts/runners","title":"执行器"},{"href":"/zh/enterprise-cloud@latest/actions/concepts/runners/self-hosted-runners","title":"自托管运行程序"}],"documentType":"article"},"body":"# 自托管运行程序\n\n您可以托管自己的运行器，并自定义在 GitHub Actions 工作流中运行作业所使用的环境。\n\n自托管运行器是一个由你部署和管理、用于在 GitHub Actions 上执行来自 GitHub 的作业的系统。\n\n自托管运行器\n\n* 与 GitHub 托管的运行器相比，您可以更好地控制硬件、操作系统和软件工具。 请注意，你负责更新作系统和其他所有软件。\n* 允许你使用公司已维护和付费使用的计算机和服务。\n* 可随意与 GitHub Actions 一起使用，但你负责维护运行程序计算机的成本。\n* 使你可以创建满足自身需求的自定义硬件配置，具备所需的处理能力或内存以运行更大型的作业，并可安装你本地网络中可用的软件。\n* 仅接收自托管运行器应用程序的自动更新，但你可以禁用运行器的自动更新。\n* 无需为每个作业执行创建一个干净的实例。\n* 可整理成组，以限制对特定工作流、组织和存储库的访问。 请参阅 [使用组管理对自托管运行程序的访问](/zh/enterprise-cloud@latest/actions/how-tos/manage-runners/self-hosted-runners/manage-access)。\n* 可以是物理设备、虚拟设备，可以在容器中、在本地或在云中。\n\n你可以在管理层次结构的各个层级使用自托管运行器。 仓库级运行器专用于处理单个仓库的作业，而组织级运行器可以处理组织中多个仓库的作业。 组织所有者可以选择哪些仓库被允许创建仓库级自托管运行器。 请参阅“[禁用或限制组织的 GitHub Actions](/zh/enterprise-cloud@latest/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#limiting-the-use-of-self-hosted-runners)”。 最后，企业级运行器可以分配到企业帐户中的多个组织。\n\n## 后续步骤\n\n要获得自托管运行器的策略和使用的实践经验，请参阅 [企业自托管运行器入门](/zh/enterprise-cloud@latest/admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/getting-started-with-self-hosted-runners-for-your-enterprise)\n\n如需查找有关自托管运行器的要求和受支持的软件和硬件的信息，请参阅 [自托管运行程序参考](/zh/enterprise-cloud@latest/actions/reference/runners/self-hosted-runners)。"}