Provenance issue with public repository
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
- 45/100
Hướng nghiên cứu
Bắt đầu với .github/workflows/publish.yml quanh dòng 176 và .github/workflows/build.yml được ghim ở v1.6.0, sau đó so sánh cấu hình build của chúng với lệnh docker buildx đang hoạt động. Tái tạo workflow và kiểm tra image kết quả bằng docker buildx imagetools; issue hoàn tất khi cấu hình được hỗ trợ hoặc giới hạn đã được xác định, đồng thời hành vi provenance đã được ghi lại hoặc sửa lỗi.
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
Hello,
My repository is public (https://github.com/nsphung/mcp-snowflake-server/blob/main/Dockerfile). And from my understanding, using docker/github-builder (docker/github-builder/.github/workflows/build.yml@7d2a02426d4b989616ba5aaee4e879afd4134b0d # v1.6.0), it should use docker/buildx provenance = mode=max,version=v1. But I don't have the expected results.
Expected behaviour
This is what I have without using docker/github-builder:
docker buildx imagetools inspect nsphung/mcp-snowflake-server-nsp:0.8.0 --format "{{ json .Provenance.SLSA }}"
# This one is working
This was build with:
docker buildx build \
--tag nsphung/mcp-snowflake-server-nsp:0.8.0 \
--sbom=true \
--attest type=provenance,mode=max,version=v1 \
.
Is there any way to have the same feature in docker/github-builder ? Or maybe I'm missing a configuration.
Actual behaviour
docker buildx imagetools inspect nsphung/mcp-snowflake-server-nsp:0.11.2 --format "{{ json .Provenance.SLSA }}"
null%
Here we can see null when inspecting for provenance.
Repository URL
https://github.com/nsphung/mcp-snowflake-server/tree/main
Workflow run URL
https://github.com/nsphung/mcp-snowflake-server/actions/runs/25457043001
YAML workflow
You can checkout the yaml at:
https://github.com/nsphung/mcp-snowflake-server/blob/main/.github/workflows/publish.yml#L176
Workflow logs
No response
BuildKit logs
Additional info
No response
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 83
- Fork
- 23
- Merge trung bình
- 2 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 8
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
-
Support multiple ECR registries Đang mởkind/enhancement status/triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
docker/github-builder#282 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
docker/github-builder#251 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
docker/github-builder#209 ·
-
kind/enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
docker/github-builder#207 · 1 bình luận ·
-
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 ·
Tất cả issue của docker/github-builder
Issue tương tự
-
Add dependabot Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
oblt-aw/detector/security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Type: AVM :a: :v: :m: Type: Bug :bug:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Azure/bicep-registry-modules#7386 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100