RepositoryJavaScript
skills

skills/publish-docker-images

Build and publish Docker images using GitHub Actions.

240stars
131forks
1issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: intermediate

#1 Repository of the week

1
TINIX TRENDING·Topic: github-packages

#1 Repository of the week

2
TINIX TRENDING·Topic: workflows

#2 Repository of the week

Publish Docker Images

Learn how to build and publish Docker images using GitHub Actions, progressing from basic commands to advanced automation with specialized Docker actions.

Welcome

  • Who is this for: Developers and DevOps engineers interested in automating Docker image creation and publication.

  • What you'll learn: How to build and publish Docker images using GitHub Actions with automated versioning and lifecycle management.

  • What you'll build: A GitHub Actions workflow that automatically builds and publishes Docker images to GitHub Container Registry.

  • Prerequisites:

    • Hello GitHub Actions exercise level of familiarity with GitHub Actions workflows
    • Basic familiarity with containerization and Docker
  • How long: This exercise takes less than 1 hour to complete.

In this exercise, you will:

  1. Set up a development environment and create a basic Docker workflow for building and publishing to GitHub Container Registry
  2. Enhance the workflow with specialized Docker actions for improved performance
  3. Implement dynamic tagging for automated versioning based on Git context
  4. Practice a complete development lifecycle by creating features, pull requests, and releases with proper container versioning

How to start this exercise

Simply copy the exercise to your account, then give your favorite Octocat (Mona) about 20 seconds to prepare the first lesson, then refresh the page.

Having trouble? 🤷

When copying the exercise, we recommend the following settings:

  • For owner, choose your personal account or an organization to host the repository.

  • We recommend creating a public repository, since private repositories will use Actions minutes.

If the exercise isn't ready in 20 seconds, please check the Actions tab.

  • Check to see if a job is running. Sometimes it simply takes a bit longer.

  • If the page shows a failed job, please submit an issue. Nice, you found a bug! 🐛


© 2026 GitHub • Code of Conduct • MIT License

Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
skills/integrate-mcp-with-copilot

Learn how to use MCP Servers with GitHub Copilot

268
Nov 17, 2026
RepositoryJavaScript
skills/expand-your-team-with-copilot

Let Copilot coding agent tackle your issues directly on GitHub. No coding environment needed.

197
Nov 2, 2026
RepositoryJavaScript
skills/deploy-to-azure

Create two deployment workflows using GitHub Actions and Microsoft Azure.

183
Feb 14, 2026
RepositoryJavaScript
skills/customize-your-github-copilot-experience

Customize GitHub Copilot's behavior with custom instructions, prompts, and chat modes for your specific development workflows.

82
Nov 17, 2026
RepositoryJavaScript
skills/copilot-code-review

Leverage GitHub Copilot code review to promote code quality and catch issues before they reach production.

57
Jun 24, 2026
RepositoryShell
skills/create-applications-with-the-copilot-cli

Use GitHub Copilot CLI to manage issues and build a Node.js calculator application.

140
Jun 29, 2026
Repository
skills/scale-institutional-knowledge-using-copilot-spaces

Learn how Copilot Spaces can scale institutional knowledge and streamline organizational processes.

85
Aug 9, 2026
Repository
skills/change-commit-history

A skills course on changing the commit history with Git

75
Dec 1, 2025
RepositoryAstro
skills/idea-to-merge-with-the-copilot-app

Exercise: Idea to Merge with the Copilot App

73
Nov 18, 2026