chore(go.mod): fix dependabot alerts (#1228)

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani
2023-02-28 07:38:49 -08:00
committed by GitHub
parent 5968e7199f
commit 5a2fb4108d
4 changed files with 36 additions and 32 deletions
+6 -4
View File
@@ -1091,10 +1091,12 @@ func SignWithNotation(keyName string, reference string, tdir string) error {
sigRepo := notreg.NewRepository(remoteRepo)
sigOpts := notation.SignOptions{
ArtifactReference: ref.String(),
SignatureMediaType: mediaType,
PluginConfig: map[string]string{},
sigOpts := notation.RemoteSignOptions{
SignOptions: notation.SignOptions{
ArtifactReference: ref.String(),
SignatureMediaType: mediaType,
PluginConfig: map[string]string{},
},
}
_, err = notation.Sign(ctx, newSigner, sigRepo, sigOpts)