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.
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
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-publish-packages-docker-images-publishing-github-docs-workflow-guide.md | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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
- 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/publish-packages/publish-docker-images
