Put cache mounts into GitHub Actions cache and reuse it between builds
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
研究方向
Start by reading docker/github-builder/.github/workflows/build.yml and the linked BuildKit cache mount documentation and cache dance action. Work out how the reusable workflow can extract and inject cache mount data during builds, then check the workflow’s existing build and cache behavior. Done means cache mounts are saved to and restored from GitHub Actions cache across builds.
由索引模型根據 Issue 內容生成。
描述
Description
According to the Docker’s official documentation:
BuildKit doesn't preserve cache mounts in the GitHub Actions cache by default. To put your cache mounts into GitHub Actions cache and reuse it between builds, you can use a workaround provided by reproducible-containers/buildkit-cache-dance.
This GitHub Action creates temporary containers to extract and inject cache mount data during Docker build steps.
However, once we use docker/github-builder/.github/workflows/build.yml, we can no longer use reproducible-containers/buildkit-cache-dance as a workaround, because we no longer have control over the runner that actually executes the build.
I would like to propose integrating reproducible-containers/buildkit-cache-dance into docker/github-builder/.github/workflows/build.yml so that we can put cache mounts into the GitHub Actions cache and reuse them between builds.
- 主要語言
- 沒有語言資料
- 星號
- 94
- 分支
- 28
- 平均合併
- 2 天 7 小時
- 30 天內合併 PR
- 20
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
docker/github-builder 的其他 Issue
-
kind/enhancement
難度 5/5 一週以上 新手友好度 30/100
docker/github-builder#356 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 55/100
docker/github-builder#351 ·
維護者通常 1 天內回覆
-
kind/enhancement status/triage
難度 4/5 3-5 天 新手友好度 38/100
docker/github-builder#347 ·
維護者通常 1 天內回覆
-
kind/enhancement status/triage
難度 3/5 1-2 天 新手友好度 57/100
docker/github-builder#343 · 1 則留言 ·
維護者通常 1 天內回覆
-
kind/enhancement status/triage
難度 5/5 一週以上 新手友好度 25/100
docker/github-builder#203 · 1 則留言 ·
維護者通常 1 天內回覆
查看 docker/github-builder 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
Netcracker/qubership-authz-agent#416 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
Netcracker/qubership-core-base-images#400 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 83/100
developmentseed/titiler-covjson#163 ·
維護者通常 1 天內回覆
-
`LogProxyConsumer._on_relation_departed` raises `APIError` when the promtail service does not exist未關閉
難度 2/5 1-3 小時 新手友好度 78/100
canonical/loki-k8s-operator#695 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
salesforce/sa11y#1022 ·