docs/content/build/ci/github-actions/_index.md

2.4 KiB

title description keywords aliases
Introduction to GitHub Actions Docker maintains a set of official GitHub Actions for building Docker images. ci, github actions, gha, build, introduction, tutorial
/ci-cd/github-actions/
/build/ci/github-actions/examples/

GitHub Actions is a popular CI/CD platform for automating your build, test, and deployment pipeline. Docker provides a set of official GitHub Actions for you to use in your workflows. These official actions are reusable, easy-to-use components for building, annotating, and pushing images.

The following GitHub Actions are available:

Using Docker's actions provides an easy-to-use interface, while still allowing flexibility for customizing build parameters.

Examples

If you're looking for examples on how to use the Docker GitHub Actions, refer to the following sections:

{{% sectionlinks %}}

Get started with GitHub Actions

{{< include "gha-tutorial.md" >}}

Next steps

This tutorial has shown you how to create a simple GitHub Actions workflow, using the official Docker actions, to build and push an image to Docker Hub.

There are many more things you can do to customize your workflow to better suit your needs. To learn more about some of the more advanced use cases, take a look at the advanced examples, such as building multi-platform images, or using cache storage backends and also how to configure your builder.