Cache not working
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
- 28/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker, docker-compose, github-actions, google-cloud
- Lĩnh vực
- build-system, ci-cd, cloud, devops
Hướng nghiên cứu
Bắt đầu với bước docker/bake-action@v5 của workflow, compose.yaml và thiết lập Buildx xung quanh; điều tra cấu hình cache cũng như các log còn thiếu của workflow và BuildKit. Được coi là hoàn tất khi một build tiếp theo không thay đổi sử dụng lại các layer, được chứng minh bằng log hoặc cấu hình workflow có thể tái tạo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Contributing guidelines
- I've read the contributing guidelines and wholeheartedly agree
I've found a bug, and:
- The documentation does not mention anything about my problem
- There are no open or closed issues that are related to my problem
Description
I'm trying to use this action to build a multi stage image using a docker compose configuration file. The build is working correctly and the images are pushed to the Google Artifacts registry just fine, but subsequent builds are not taking advantage of the layers cache even though nothing in the repository changed at all.
Expected behaviour
I would expect this to be way higher than 0%
Actual behaviour
Cache seem not to be used at all?
Repository URL
No response
Workflow run URL
No response
YAML workflow
# Setup gcloud CLI
- uses: "google-github-actions/setup-gcloud@v2"
if: ${{ env.dryRun == 'false' }}
with:
project_id: ${{ env.GCP_PROJECT_ID }}
version: "482.0.0"
# This gives us access to buildx
- name: Set up Docker CLI
uses: docker/setup-buildx-action@v3
# Configure Docker to use the gcloud command-line tool as a credential
# helper for authentication
- if: ${{ env.dryRun == 'false' }}
run: |-
gcloud --quiet auth configure-docker
# Get the GKE credentials so we can deploy to the cluster
- uses: google-github-actions/get-gke-credentials@db150f2cc60d1716e61922b832eae71d2a45938f
if: ${{ env.dryRun == 'false' }}
with:
cluster_name: ${{ env.GKE_CLUSTER }}
location: ${{ env.GCP_LOCATION }}
- name: Build and Push Docker Images
uses: docker/bake-action@v5
env:
TAG: ${{ steps.release-tag.outputs.tag }}
with:
source: "."
files: "compose.yaml"
workdir: "./docker"
push: ${{ env.dryRun == 'false' }}
load: true
Workflow logs
No response
BuildKit logs
No response
Additional info
No response
- Ngôn ngữ chính
- TypeScript
- Star
- 302
- Fork
- 42
- Merge trung bình
- 22 giờ 10 phút
- Pull request đã merge (30 ngày)
- 17
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/bake-action
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
docker/bake-action#488 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add support for dockerignoreĐang mởkind/enhancement status/triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
docker/bake-action#458 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[subaction/matrix] Generate multiple matrices when targets reference other targets as build contextsCó thể đã có người làm @jeliebig đã nhận 100 ngày trước. Đang mởkind/enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
docker/bake-action#435 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status/triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
docker/bake-action#329 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status/triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
docker/bake-action#322 · 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/bake-action
Issue tương tự
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
openclaw/openclaw#168089 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
✨ enhancement needs-discussion
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
[Bug]: [MCP/CLI] Bare loopback IP addresses (127.0.0.1:port) and hosts with ports fail to navigate due to erroneous scheme inferenceCó thể đã có người làm @alok-108 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
microsoft/playwright#43263 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:studio type:security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue Stellar Wave trivial
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
StellarCanary/ProtocolCanary-Action#331 ·
Maintainer thường phản hồi trong vòng 1 ngày