Signing the main tag/manifest?
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
.github/workflows/build.yml から始めて、linux/amd64 および linux/arm64 のマニフェストに対して cosign 署名がどのように生成されるかを確認します。そのフローを、要求されている main tag/digest の検証コマンドと比較します。main マニフェストも正常に検証でき、既存のプラットフォームごとの署名が維持されていれば完了です。
索引モデルが 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時間
- マージ済み PR(30日)
- 20
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker/github-builder のほかの issue
-
kind/enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 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 日以内に返信