github · GitHub Actions Docs
Workflows And Actions Dockerfile support for GitHub Actions - GitHub Docs
Explains how to use Dockerfiles to define containerized environments for GitHub Actions jobs, including how GitHub builds and runs the containers.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workflows And Actions Dockerfile support for GitHub Actions - GitHub Docs
Explains how to use Dockerfiles to define containerized environments for GitHub Actions jobs, including how GitHub builds and runs the containers.
When To Use
Use when you need to configure a GitHub Actions job to run within a custom container environment defined by a Dockerfile.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-workflows-and-dockerfile-support-for-github-docs-workflow-guide.md | A reference guide detailing Dockerfile instructions such as USER, FROM, WORKDIR, and ENTRYPOINT for creating Docker container actions in GitHub Actions. | Questions about a reference guide detailing Dockerfile instructions such as USER, FROM, WORKDIR, and ENTRYPOINT for creating Docker c... |
examples/actions-workflows-and-dockerfile-support-for-github-docs-github-actions-.text | A Dockerfile example demonstrating the use of the GITHUB_SHA environment variable within an ENTRYPOINT instruction for GitHub Actions. | Exact payloads, commands, or snippets shown in A Dockerfile example demonstrating the use of the GITHUBSHA environment variable within an ENTRYPOINT instruction for... |
examples/actions-workflows-and-dockerfile-support-for-github-docs-github-actions--2.text | A Dockerfile example demonstrating the use of the ENTRYPOINT instruction to echo the GITHUB_SHA environment variable within a GitHub Action. | Exact payloads, commands, or snippets shown in A Dockerfile example demonstrating the use of the ENTRYPOINT instruction to echo the GITHUBSHA environment variable w... |
examples/actions-workflows-and-dockerfile-support-for-github-docs-github-actions--3.text | A Dockerfile example demonstrating how to build a container image for a GitHub Action using a Debian base image and an entrypoint script. | Exact payloads, commands, or snippets shown in A Dockerfile example demonstrating how to build a container image for a GitHub Action using a Debian base image and a... |
examples/actions-workflows-and-dockerfile-support-for-github-docs-github-actions--4.text | A shell script demonstrating how to handle command-line arguments within a Dockerfile used for a GitHub Action. | Exact payloads, commands, or snippets shown in A shell script demonstrating how to handle command-line arguments within a Dockerfile used for a GitHub Action. |
examples/actions-workflows-and-dockerfile-support-for-github-docs-github-actions--5.text | A shell script designed to be used as an entrypoint for a Docker container running within a GitHub Actions workflow. | Exact payloads, commands, or snippets shown in A shell script designed to be used as an entrypoint for a Docker container running within a GitHub Actions workflow. |
examples/actions-workflows-and-dockerfile-support-for-github-docs-github-actions--6.text | A text representation of an OCI runtime error occurring when a GitHub Actions Dockerfile fails due to a permission denied error on the entrypoint script. | Exact payloads, commands, or snippets shown in A text representation of an OCI runtime error occurring when a GitHub Actions Dockerfile fails due to a permission de... |
What This Skill Covers
-
- GitHub Actions / - Reference / - Workflows and actions / - Dockerfile support
- Main sections:
USER,FROM,WORKDIR,ENTRYPOINT,Example Dockerfile.
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/reference/workflows-and-actions/dockerfile-support
