Put cache mounts into GitHub Actions cache and reuse it between builds
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 94
- Fork
- 28
- Merge trung bình
- 2 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 20
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của docker/github-builder
-
kind/enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
docker/github-builder#356 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
docker/github-builder#351 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Generate `dockerbuild` FilesĐang mởkind/enhancement status/triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
docker/github-builder#347 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kind/enhancement status/triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
docker/github-builder#343 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kind/enhancement status/triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
docker/github-builder#203 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của docker/github-builder
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Netcracker/qubership-authz-agent#416 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Netcracker/qubership-core-base-images#400 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
developmentseed/titiler-covjson#163 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`LogProxyConsumer._on_relation_departed` raises `APIError` when the promtail service does not existĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
canonical/loki-k8s-operator#695 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
salesforce/sa11y#1022 ·