![](https://github.githubassets.com/assets/bg-top-d2dc18395ef1.png)
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.
![maven](https://github.githubassets.com/assets/maven-11a1831b84c7.png)
![autoscaler private repository](https://github.githubassets.com/assets/package-docker-32a904dbd1cf.png)
![primer/css public repository](https://github.githubassets.com/assets/package-npm-ea1d39a8f7a8.png)
![rubygems/project public repository](https://github.githubassets.com/assets/package-ruby-73d123a20fdd.png)
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.
“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.
“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!
![](https://github.githubassets.com/assets/bg-bottom-f739ddfa2f5e.png)
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 Actions |
Data transfer out outside of Actions |
How to get started |
---|---|---|---|---|
Free | 500MB Storage | Unlimited Data out within Actions |
1GB Data out, outside of Actions per month |
Join for free |
Team | 2GB Storage | Unlimited Data out within Actions |
10GB Data out, outside of Actions per month |
Most Popular |
Enterprise | 50GB Storage | Unlimited Data out within Actions |
100GB Data out, outside of Actions per month |
Start a Free Trial Contact Sales |
-
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.