GitHub Packages
Your packages,
at home with their code
With GitHub Packages, you can safely publish and consume packages within your organization or with the entire world.
$ echo $PAT | docker login ghcr.io --username phanatic --password-stdin Logged in successfully $ docker tag app ghcr.io/phanatic/app:1.0.0 $ docker push ghcr.io/phanatic/app:1.0.0 1.0.0: digest: sha256:631cb8...fc822c size: 1373
$ npm login --registry=https://npm.pkg.github.com --scope=@phanatic Successfully logged in. $ npm publish Package published
$ mvn deploy -Dregistry=https://maven.pkg.github.com/phanatic -Dtoken=$GH_TOKEN Uploaded: https://maven.pkg.github.com/phanatic/com/github/app/1.0/github_api-1.0.pom (2 KB at 1.0 KB/sec)
$ nuget source Add -Name "GitHub" -Source "https://nuget.pkg.github.com/phanatic/octokit/index.json" -UserName phanatic $ nuget pack $ nuget push "octokit.net.1.0.0.nupkg" -Source "GitHub" Your package was pushed
$ echo ":github: Bearer ${GH_TOKEN}" >> ~/.gem/credentials $ gem build github_api.gemspec $ gem push --key github --host https://rubygems.pkg.github.com/phanatic github_api-1.0.0.gem Successfully registered gem: github_api (1.0.0)
Easy publishing
Use industry and community-standard package managers with native tooling commands. Then authenticate and publish directly to GitHub.
Trusted sources
Understand and safely install package contents. Get packages directly from the community on GitHub, and use only what’s been approved for your organization.
Speed and security, native to GitHub
“Packages gives us an automated and secure path to continuous integration and deployment, testing, and delivering products to our customers and users.
Director of Product Management, Cesium
“As a Yarn maintainer I’m excited to see GitHub offer a new package registry solution, and I’m looking forward to leverage its capabilities in our future releases.
Yarn maintainer
“Since GPR uses the same permissions and security as the rest of GitHub, we can spend less time managing multiple accounts, ACLs and on-premise infrastructure, and more time coding what matters!
Providence Health & Services
Simple, pay‑as‑you‑go pricing
GitHub Packages is free for public repositories
We love open source
Private repositories
-
Plan
Storage
Data transfer out
within ActionsData transfer out
outside of Actions -
Free
500MB Storage
Unlimited Data out within Actions
1GB
Data out, outside of Actions per month
-
Team
2GB Storage
Unlimited Data out within Actions
10GB
Data out, outside of Actions per month
-
Enterprise
50GB Storage
Unlimited Data out within Actions
100GB
Data out, outside of Actions per month
-
Additional storage
$0.25 USD
per gigabyte
-
Additional data transfer out
outside of Actions
$0.50 USD
per gigabyte
All data transfer is unlimited within the GitHub Actions experience.
Data transfers from local or third-party clients may require payment.