Signing the main tag/manifest?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Inizia in .github/workflows/build.yml e verifica come vengono prodotte le firme cosign per i manifest linux/amd64 e linux/arm64. Confronta questo flusso con il comando richiesto per la verifica di main tag/digest; il lavoro è completato quando anche il manifest main può essere verificato correttamente, mantenendo le firme esistenti per piattaforma.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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?
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 83
- Fork
- 23
- Merge medio
- 2g 22h
- PR unite (30g)
- 8
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di docker/github-builder
-
kind/enhancement status/triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
docker/github-builder#282 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
docker/github-builder#251 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
docker/github-builder#209 ·
-
kind/enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
docker/github-builder#207 · 1 commento ·
-
kind/enhancement status/triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
docker/github-builder#203 · 1 commento ·
Tutte le issue di docker/github-builder
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
ethereum-optimism/factory#64 ·
-
Observer env strips CLAUDE_CODE_TMPDIR, which is the documented fix for a fatal temp-dir error Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
thedotmack/claude-mem#4161 ·
-
intake mcp-intake needs-ac needs-human-review priority:medium type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Ikalus1988/MisakaNet#2019 · 2 commenti ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
bug github_actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100