Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-how-tos-manage-runners-customizing-the-containers-used-by-jobs-g-workflow-guide.mdA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textAn 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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