github · GitHub Actions Docs
Actions Customizing the containers used by jobs - GitHub Docs
Instructions for configuring and using custom Docker container images to provide specific environments for GitHub Actions jobs.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Actions Customizing the containers used by jobs - GitHub Docs
Instructions for configuring and using custom Docker container images to provide specific environments for GitHub Actions jobs.
When To Use
Use when you need to specify a custom Docker image for a job to ensure the runner has specific software, dependencies, or operating system configurations required for your workflow steps.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-how-tos-manage-runners-customizing-the-containers-used-by-jobs-g-workflow-guide.md | A guide explaining how to customize the containers used by jobs on self-hosted runners in GitHub Actions. | Questions about a guide explaining how to customize the containers used by jobs on self-hosted runners in GitHub Actions. |
examples/actions-how-tos-manage-runners-customizing-the-containers-used-by-jobs-g.text | A YAML configuration example demonstrating how to specify a custom container image and environment variables for a GitHub Actions job. | Exact payloads, commands, or snippets shown in A YAML configuration example demonstrating how to specify a custom container image and environment variables for a Gi... |
examples/actions-how-tos-manage-runners-customizing-the-containers-used-by-jobs-g-2.text | A text representation of a GitHub Actions job configuration showing container and service container settings. | Exact payloads, commands, or snippets shown in A text representation of a GitHub Actions job configuration showing container and service container settings. |
examples/actions-how-tos-manage-runners-customizing-the-containers-used-by-jobs-g-3.text | A YAML configuration snippet demonstrating how to define service containers and job containers within a GitHub Actions workflow. | Exact payloads, commands, or snippets shown in A YAML configuration snippet demonstrating how to define service containers and job containers within a GitHub Action... |
examples/actions-how-tos-manage-runners-customizing-the-containers-used-by-jobs-g-4.text | A YAML configuration snippet demonstrating how to define service containers and job containers within a GitHub Actions workflow. | Exact payloads, commands, or snippets shown in A YAML configuration snippet demonstrating how to define service containers and job containers within a GitHub Action... |
examples/actions-how-tos-manage-runners-customizing-the-containers-used-by-jobs-g-5.text | A YAML configuration snippet demonstrating how to define container images and service containers for GitHub Actions jobs. | Exact payloads, commands, or snippets shown in A YAML configuration snippet demonstrating how to define container images and service containers for GitHub Actions j... |
examples/actions-how-tos-manage-runners-customizing-the-containers-used-by-jobs-g-6.text | A configuration example showing how to define job containers and service containers within a GitHub Actions workflow. | Exact payloads, commands, or snippets shown in A configuration example showing how to define job containers and service containers within a GitHub Actions workflow. |
examples/actions-how-tos-manage-runners-customizing-the-containers-used-by-jobs-g-7.text | A workflow configuration example demonstrating how to specify custom container images for jobs in GitHub Actions. | Exact payloads, commands, or snippets shown in A workflow configuration example demonstrating how to specify custom container images for jobs in GitHub Actions. |
examples/actions-how-tos-manage-runners-customizing-the-containers-used-by-jobs-g-8.text | An example showing how to set the ACTIONS_RUNNER_CONTAINER_HOOKS environment variable to customize containers used by GitHub Actions jobs. | Exact payloads, commands, or snippets shown in An example showing how to set the ACTIONSRUNNERCONTAINERHOOKS environment variable to customize containers used by Gi... |
What This Skill Covers
-
- GitHub Actions / - How-tos / - Manage runners / - Self-hosted runners / - Customize containers
- Main sections:
In this article,About container customization,Container customization commands,preparejob,Arguments for preparejob.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://docs.github.com/en/actions/how-tos/manage-runners/self-hosted-runners/customize-containers
