Signing the main tag/manifest?
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
调研方向
从 .github/workflows/build.yml 开始,检查如何为 linux/amd64 和 linux/arm64 manifest 生成 cosign 签名。将该流程与所请求的 main tag/digest 验证命令进行比较;当 main manifest 也能成功完成验证,同时保留现有的按平台签名时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Description
Today if we do this:
uses: docker/github-builder/.github/workflows/build.yml@v1
with:
output: image
push: true
platforms: linux/amd64,linux/arm64
sbom: true
meta-images: |
ghcr.io/my-org/my-image
meta-tags: |
latest
We are able to cosign verify the two manifests per platform linux/amd64 and linux/arm64 individually and explicitly.
But we are not able to do this:
cosign verify \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity-regexp ^https://github.com/docker/github-builder/.github/workflows/build.yml.*$ \
ghcr.io/my-org/my-image:FIXME-WITH-LATEST-DIGEST
We'll get this error because there is no signature on the main tag/manifest:
Error: no signatures found
error during command execution: no signatures found
It's common practice to have the main tag/digest in Dockerfile for base images and in Kubernetes manifests for final container images to refer to the main tag/digest, letting then the platform pulling the actual digest based on the arch/platform. In the meantime, admission controller like Kyverno will check the signature on the main tag/digest.
Could we add the cosign signature on the main tag/digest too?
- 主要语言
- 没有语言数据
- 星标
- 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 天内回复
-
status/needs-investigation
难度 4/5 3-5 天 新手友好度 48/100
docker/github-builder#328 · 1 条评论 ·
维护者通常 1 天内回复
查看 docker/github-builder 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 67/100
canonical/chrony-operators#43 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
Netcracker/qubership-authz-agent#416 ·
维护者通常 1 天内回复
-
docker easy first-contributor first-contributors good first issue help wanted nodejs up-for-grabs
难度 1/5 1-3 小时 新手友好度 94/100
fork-commit-merge/fork-commit-merge#8715 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
Netcracker/qubership-core-base-images#400 ·
维护者通常 1 天内回复
-
bug effort:S P1
难度 2/5 1-3 小时 新手友好度 77/100
nightscout/nocturne#4821 ·
维护者通常 1 天内回复