Introduction

Completed

Package registries allow developers to easily share and use code libraries and use them across development workstations. Some developers are already familiar with public package registries, like npm or NuGet. Deploying private packages has many similarities.

Development teams using GitHub Packages can share code libraries (such as npm, NuGet, Maven, or RubyGems) and containers directly within GitHub. These packages can be public or restricted to specific people, using the same secure GitHub login for their code and packages. With GitHub Actions, you can automate the packaging and publication of your code libraries and containers in minutes.

In this module, you'll learn how to use GitHub Actions to publish to GitHub Packages.

Learning objectives

By the end of this module, you'll:

  • Understand what a Package Repository is and when to use it
  • Set up a Continuous Integration (CI) workflow with GitHub Actions to publish to GitHub Packages
  • Validate your knowledge with an exercise that checks your ability to publish to a GitHub Packages registry
  • Identify how to authenticate, install, and manage GitHub Packages

Prerequisites

  • A GitHub account
  • Basic knowledge of GitHub Actions