使用 native snapshotter 发布镜像证明 #16

Merged
panxiao81 merged 1 commits from fix/publish-native-snapshotter into main 2026-09-16 18:20:11 +00:00
Owner

问题

vfs dockerd 已解决 nested overlay mount,但 Docker engine 的 default Buildx driver 不支持 SBOM/provenance attestations。

修复

  • 保留 dockerd vfs 和禁用 containerd snapshotter
  • 恢复隔离的 docker-container BuildKit worker
  • 通过 buildkitd 配置强制 OCI worker 使用 native snapshotter
  • build 完成后删除临时 builder、JWT 和 Docker config
  • 保留 --provenance=mode=max 与 --sbom=true

验证

最终验证仍由合并后的动态 Pod publish workflow 完成。

  • actionlint 通过
  • pytest: 14 passed
  • git diff --check 通过
## 问题 vfs dockerd 已解决 nested overlay mount,但 Docker engine 的 default Buildx driver 不支持 SBOM/provenance attestations。 ## 修复 - 保留 dockerd `vfs` 和禁用 containerd snapshotter - 恢复隔离的 `docker-container` BuildKit worker - 通过 buildkitd 配置强制 OCI worker 使用 `native` snapshotter - build 完成后删除临时 builder、JWT 和 Docker config - 保留 `--provenance=mode=max` 与 `--sbom=true` ## 验证 最终验证仍由合并后的动态 Pod publish workflow 完成。 - actionlint 通过 - pytest: 14 passed - `git diff --check` 通过
panxiao81 added 1 commit 2026-09-16 18:19:41 +00:00
使用 native snapshotter 生成镜像证明
test / python (pull_request) Successful in 8s
test / shell (pull_request) Successful in 14s
057731ae62
panxiao81 merged commit 0387b2592a into main 2026-09-16 18:20:11 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: panxiao81/gitea-dynamic-runner#16