chore: publish IntegraCI build modules a11ec75d3e09

This commit is contained in:
dhimaz0445 committed 2026-11-11 03:41:55 +00:00
1 parent 694710104a
commit 3c2b80914e
78 files changed
+4982 -405

No files matched your search

+12 -3
View File
@@ -49,7 +49,7 @@ const opaImage = "openpolicyagent/opa:1.0.0"
// daggerEngineVersion is the engine every module's dagger.json pins; recorded
// as the provenance builder version. Before #2143 this said v0.15.0.
const daggerEngineVersion = "v0.21.7"
const daggerEngineVersion = "v0.21.11"
// Cosign is the IntegraCI artifact signing module.
type Cosign struct{}
@@ -79,9 +79,18 @@ type VerifyResult struct {
// runs don't pollute each other's keychain / SIGSTORE_* state.
func (m *Cosign) cosignContainer() *dagger.Container {
return dag.Container().
From("gcr.io/projectsigstore/cosign:v2.4.1").
From("gcr.io/projectsigstore/cosign:v3.1.4").
WithEnvVariable("HOME", "/tmp/cosign-home").
WithEnvVariable("COSIGN_YES", "true") // non-interactive
WithEnvVariable("COSIGN_YES", "true"). // non-interactive
// cosign v3 (2026-11-04 bump, docs/security/vuln-remediation-20261104.md)
// defaults to a TUF-fetched signing config, which REFUSES the keyed
// `--tlog-upload=false` this module signs with (v3.1.4
// signcommon.ValidateSigningOptions) and fetches from the public TUF root
// on every call. cosign reads every flag from COSIGN_<FLAG> (options/
// root.go BindViper), and an explicit flag still wins: these two keep
// the v2.4.1 behaviour every caller and verifier here was written for.
WithEnvVariable("COSIGN_USE_SIGNING_CONFIG", "false").
WithEnvVariable("COSIGN_NEW_BUNDLE_FORMAT", "false")
}
// Sign signs a container image with Cosign.