github · GitHub Actions Docs
Use Containerized Services Creating a Docker container action - GitHub Docs
A tutorial on how to build and package a custom GitHub Action using a Docker container, including defining inputs, outputs, and the necessary metadata files.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Use Containerized Services Creating a Docker container action - GitHub Docs
A tutorial on how to build and package a custom GitHub Action using a Docker container, including defining inputs, outputs, and the necessary metadata files.
When To Use
Use when you need to package custom code into a Docker container to be used as a reusable GitHub Action.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-use-containerized-services-create-a-docker-container-action-crea-workflow-guide.md | A tutorial guide on creating a Docker container action for use with GitHub Actions containerized services. | Questions about a tutorial guide on creating a Docker container action for use with GitHub Actions containerized services. |
examples/actions-use-containerized-services-create-a-docker-container-action-crea.text | A Dockerfile for creating a containerized GitHub Action using an alpine base image and an entrypoint script. | Exact payloads, commands, or snippets shown in A Dockerfile for creating a containerized GitHub Action using an alpine base image and an entrypoint script. |
examples/actions-use-containerized-services-create-a-docker-container-action-crea-2.text | The action.yml configuration file defining the metadata, inputs, outputs, and Docker execution instructions for a custom containerized GitHub Action. | Exact payloads, commands, or snippets shown in The action.yml configuration file defining the metadata, inputs, outputs, and Docker execution instructions for a cus... |
examples/actions-use-containerized-services-create-a-docker-container-action-crea-3.text | A shell script designed to be used as a Docker container action within a GitHub Actions workflow. | Exact payloads, commands, or snippets shown in A shell script designed to be used as a Docker container action within a GitHub Actions workflow. |
examples/actions-use-containerized-services-create-a-docker-container-action-crea-4.text | A shell script entrypoint used to configure and run a Docker container within a GitHub Actions workflow. | Exact payloads, commands, or snippets shown in A shell script entrypoint used to configure and run a Docker container within a GitHub Actions workflow. |
examples/actions-use-containerized-services-create-a-docker-container-action-crea-5.text | A shell script entrypoint for a custom Docker container action used within GitHub Actions. | Exact payloads, commands, or snippets shown in A shell script entrypoint for a custom Docker container action used within GitHub Actions. |
examples/actions-use-containerized-services-create-a-docker-container-action-crea-6.text | A text representation of the metadata and usage example for creating a Docker container action in GitHub Actions. | Exact payloads, commands, or snippets shown in A text representation of the metadata and usage example for creating a Docker container action in GitHub Actions. |
examples/actions-use-containerized-services-create-a-docker-container-action-crea-7.text | A sequence of git commands to add action files, commit changes, tag a version, and push to a repository. | Exact payloads, commands, or snippets shown in A sequence of git commands to add action files, commit changes, tag a version, and push to a repository. |
examples/actions-use-containerized-services-create-a-docker-container-action-crea-8.text | A GitHub Actions workflow YAML configuration demonstrating how to use a custom Docker container action within a job. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration demonstrating how to use a custom Docker container action within a job. |
examples/actions-use-containerized-services-create-a-docker-container-action-crea-9.text | A GitHub Actions workflow YAML configuration demonstrating how to use a local Docker container action within a job. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration demonstrating how to use a local Docker container action within a job. |
examples/actions-use-containerized-services-create-a-docker-container-action-crea-10.text | A GitHub Actions workflow YAML configuration demonstrating how to use a custom Docker container action within a job. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration demonstrating how to use a custom Docker container action within a job. |
What This Skill Covers
-
- GitHub Actions / - Tutorials / - Use containerized services / - Create a Docker container action
- Main sections:
In this article,Introduction,Prerequisites,Creating a Dockerfile,Writing the action code.
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/tutorials/use-containerized-services/create-a-docker-container-action
