Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Publishing Docker images - GitHub Docs

A tutorial on configuring a GitHub Actions workflow to build and push Docker images to a container registry.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Publishing Docker images - GitHub Docs

A tutorial on configuring a GitHub Actions workflow to build and push Docker images to a container registry.

When To Use

Use when you need to automate the process of building a Docker image and publishing it to a registry using GitHub Actions workflows.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-publish-packages-docker-images-publishing-github-docs-workflow-guide.mdA tutorial guide explaining how to publish Docker images to registries like Docker Hub or GitHub Container Registry using GitHub Actions.Questions about a tutorial guide explaining how to publish Docker images to registries like Docker Hub or GitHub Container Registry u...
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act.textA GitHub Actions workflow configuration file demonstrating how to build and publish Docker images to a container registry.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration file demonstrating how to build and publish Docker images to a container regi...
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-2.textA GitHub Actions workflow YAML configuration for creating and publishing a Docker image.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration for creating and publishing a Docker image.
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-3.textA YAML workflow configuration demonstrating how to use GitHub Actions to build and publish Docker images to a container registry.Exact payloads, commands, or snippets shown in A YAML workflow configuration demonstrating how to use GitHub Actions to build and publish Docker images to a contain...
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-4.textA GitHub Actions workflow configuration demonstrating how to build and publish Docker images to the GitHub Container Registry.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration demonstrating how to build and publish Docker images to the GitHub Container...
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-5.textA YAML workflow example demonstrating how to build and push Docker images using GitHub Actions.Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to build and push Docker images using GitHub Actions.
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-6.textA text configuration snippet defining the required GITHUB_TOKEN permissions for publishing Docker images via GitHub Actions.Exact payloads, commands, or snippets shown in A text configuration snippet defining the required GITHUBTOKEN permissions for publishing Docker images via GitHub Ac...
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-7.textA YAML workflow example demonstrating how to use GitHub Actions to build and publish Docker images to a container registry.Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to use GitHub Actions to build and publish Docker images to a container reg...
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-8.textA GitHub Actions workflow configuration demonstrating how to log in to a container registry and publish Docker images.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration demonstrating how to log in to a container registry and publish Docker images.
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-9.textA GitHub Actions workflow configuration demonstrating how to extract Docker metadata and publish images to a registry.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration demonstrating how to extract Docker metadata and publish images to a registry.
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-10.textA GitHub Actions workflow configuration demonstrating how to build and push a Docker image using the docker/build-push-action.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration demonstrating how to build and push a Docker image using the docker/build-pus...
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-11.textA GitHub Actions workflow configuration demonstrating how to generate artifact attestations for a published Docker image.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration demonstrating how to generate artifact attestations for a published Docker im...
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-12.textA GitHub Actions workflow YAML configuration that triggers on pushes to the release branch to build and publish a Docker image to the GitHub Container Registry.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration that triggers on pushes to the release branch to build and publish a Doc...
examples/actions-publish-packages-docker-images-publishing-github-docs-github-act-13.textA GitHub Actions workflow configuration file demonstrating how to build and publish Docker images to a container registry.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration file demonstrating how to build and publish Docker images to a container regi...

What This Skill Covers

    • GitHub Actions / - Tutorials / - Publish packages / - Publish Docker images
  • Main sections: In this article, Introduction, Prerequisites, About image configuration, Publishing images to Docker Hub.

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/publish-packages/publish-docker-images