Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

🏷️ Discussion Type

Question

Body

The GitHub Packages billing docs state:

GitHub Packages usage is free for public packages. In addition, data transferred in from any source is free.

For private repositories, each GitHub account receives a quota of storage and data transfer for use with GitHub Packages, depending on the account's plan.

We have a private repository that publishes public container images to GHCR. Which billing rule applies — "free for public packages", or the storage/bandwidth quota for "private repositories"?

You must be logged in to vote

According to GitHub's billing policies, the rule that applies to your situation is "free for public packages."

GitHub Packages billing depends entirely on the visibility of the package itself, rather than the repository it originates from.

Since you are publishing public container images, as long as the package visibility is set to 'Public', it falls under the free tier. This means it will not consume the storage or bandwidth quota allocated to your private repository.

In short, you can keep your source code secure in a private repository while distributing the resulting images publicly at absolutely no extra cost.

Replies: 1 comment · 2 replies

Comment options

According to GitHub's billing policies, the rule that applies to your situation is "free for public packages."

GitHub Packages billing depends entirely on the visibility of the package itself, rather than the repository it originates from.

Since you are publishing public container images, as long as the package visibility is set to 'Public', it falls under the free tier. This means it will not consume the storage or bandwidth quota allocated to your private repository.

In short, you can keep your source code secure in a private repository while distributing the resulting images publicly at absolutely no extra cost.

You must be logged in to vote
2 replies
@rophy
Comment options

Thanks! I think the linked billing docs could make the wording more precise to avoid confusion.

@abdullahasad3670-ops
Comment options

thanks and i am making a nothour game on roblx

Answer selected by rophy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository Question Ask and answer questions about GitHub features and usage source:ui Discussions created via Community GitHub templates
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.