chore: update github.com/sigstore/cosign/v3 from 3.0.2 to 3.0.4 (#3789)

Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com>
This commit is contained in:
Andrei Aaron
2026-02-11 00:16:50 +02:00
committed by GitHub
parent c3c50a2261
commit 3454ad63dc
8 changed files with 81 additions and 75 deletions
+2 -1
View File
@@ -72,7 +72,8 @@ func SignImageUsingCosign(repoTag, port string, withReferrers bool) error {
}
// sign the image
return sign.SignCmd(&options.RootOptions{Verbose: true, Timeout: timeoutPeriod * time.Minute},
return sign.SignCmd(context.TODO(),
&options.RootOptions{Verbose: true, Timeout: timeoutPeriod * time.Minute},
options.KeyOpts{KeyRef: path.Join(tdir, "cosign.key"), PassFunc: generate.GetPass},
signOpts,
[]string{imageURL})