Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-use-containerized-services-create-a-docker-container-action-crea-workflow-guide.mdA 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.textA 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.textThe 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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

  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/tutorials/use-containerized-services/create-a-docker-container-action