Container image storage doesn't appear to be free for private repositories

未关闭
#46,909 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
56/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
documentation

调研方向

Start with the linked GitHub Packages billing article, especially its “Free use of GitHub Packages” section, and check the repository’s contribution guidance for article edits. Review the current container image storage wording against the issue’s billing examples and determine whether the article needs clarification; done when the page accurately explains the reported private repository storage billing behavior.

由索引模型根据 Issue 内容生成。

描述

content driver persona
Code of Conduct
What article on docs.github.com is affected?

https://docs.github.com/en/billing/concepts/product-billing/github-packages#free-use-of-github-packages

What part(s) of the article would you like to see updated?

Billing for container image storage: Container image storage and bandwidth for the Container registry is currently free. If you use Container registry, you'll be informed at least one month in advance of any change to this policy. For more information about the Container registry, see Working with the Container registry.

Additional information
  1. I'm in an organization (not an enterprise) on a team plan
  2. In that organization is a repository with a ghcr package
  3. Only one workflow generates classic github workflow artifacts and they're tiny and have a fairly short expiration (so they can't accumulate month over month)
  4. One workflow generates ghcr images labeled with the repository
  5. There is no garbage collection configured for this repository for the ghcr side (obviously, we will be adding it)

I checked the billing history for April and October.

April
"date","product","sku","quantity","unit_type","applied_cost_per_quantity","gross_amount","discount_amount","net_amount","username","organization","repository","workflow_path","cost_center_name"
"date","product","sku","quantity","unit_type","applied_cost_per_quantity","gross_amount","discount_amount","net_amount","username","organization","repository","workflow_path","cost_center_name"
"2026-04-01","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-02","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-03","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-04","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-05","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-06","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-07","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-08","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-09","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-10","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-11","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-12","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-13","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-14","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-15","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-04-16","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-17","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-18","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-19","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-20","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-21","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-22","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-23","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-24","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-25","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-26","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-27","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-28","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-29","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-04-30","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
October
"date","product","sku","quantity","unit_type","applied_cost_per_quantity","gross_amount","discount_amount","net_amount","username","organization","repository","workflow_path","cost_center_name"
"2026-10-01","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-02","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-03","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-04","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-05","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-06","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-07","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-08","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-09","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-10","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-11","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-12","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","0          ","","Organization","repository","",""
"2026-10-13","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-14","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-15","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-16","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-17","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-18","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-19","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-20","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-21","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-22","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-23","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-24","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-25","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-26","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-27","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-28","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-29","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-30","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""
"2026-10-31","actions","actions_storage","xxxxxxxxxxx","gigabyte-hours","xxxxxxxxxx","xxxxxxxxxxx","0          ","xxxxxxxxxxx","","Organization","repository","",""

This repository is clearly becoming more expensive over time, and the cost is almost certainly because of the ghcr.io hosted packages. Which contradicts the naive reading of the quoted text and all the ai hallucinations derived from that text.

I'm willing to believe that github is not currently charging for bandwidth -- I certainly don't see any records in my billing records for this repository (we're billed for actions_storage and actions_linux* minutes).


This appears to be the official beta announcement (September 1, 2020; Updated June 18, 2021):
Introducing GitHub Container Registry

Our users have asked for anonymous access for public container images, similar to how we enable anonymous access to public repositories of source code today. Anonymous access is available with GitHub Container Registry today, and we’ve gotten things started today by publishing a public image of our own super-linter. GitHub Container Registry is free for public images. Container Registry is free for private images during the beta, and as part of GitHub Packages will follow the same pricing model when generally available.

And the GA announcement (June 21, 2021; Updated December 19, 2021):

GitHub Packages Container registry is generally available

At this time, usage of the Container registry will continue to be free. Billing for Container registry usage will begin in the coming months with ample notice as to when that change will occur. Container registry pricing for storage and bandwidth will follow the standard GitHub Packages pricing structure.

主要语言
TypeScript
星标
21.4k
派生
69.5k
平均合并
14 小时 41 分钟
30 天内合并 PR
89

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/docs 的其他 Issue

查看 github/docs 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。