GitHub Actions: Publish to GitHub Packages

This course will walk you through using GitHub Actions to get your code in a deployable state once your CI workflows have completed.

Start free course Join 1098 others!

social preview

GitHub Actions makes it easier than ever to incorporate continuous delivery (CD) into your repositories. This course will teach you what is needed to test and deliver artifacts that are ready for deployment.

What you'll learn

We'll answer common questions like:

  • What is GitHub Packages?
  • What role does package management play in the software development lifecycle?
  • What is a container, a virtual machine, and Docker?

After taking this course, you'll be able to:

  • Describe CD and why it is necessary
  • Use and customize a repository workflow
  • Create CD workflows that matches the team's needs and behaviors
  • Use the repository's source code to build artifacts and store them in the GitHub Packages
  • Save repository build artifacts
  • Access saved build artifacts

What you'll build

GIF of a pull request, clicking on a commit status, shows logs of a package publishing, then shows package on the GitHub repository

Prerequisites

We recommend you first complete the following courses:

Projects used

This makes use of the following open source projects. Consider exploring these repos and maybe even making contributions!

Audience

Developers, DevOps engineers, full stack developers, cloud engineers

Steps to complete this course 4
  1. Move the workflow file

    Place the CI workflow file in the proper directory.

  2. Edit the workflow file

    Build the Docker workflow and 'secrets' configuration.

  3. Trigger the pipeline

    Make a commit and watch the pipeline work through GitHub Actions.

  4. View the workflow

    Verify whether the Docker workflow was successful.

Tags
GitHub Actions
GitHub Packages
Deployment
Workflows
Docker
Share this course
Average time to complete

20 minutes

Free

All public courses on Learning Lab are free.

Latest release

Learning Paths that include this course

Users who took this course also took

What is GitHub Learning Lab?

Learn new skills by completing fun, realistic projects in your very own GitHub repository.