mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 12:28:01 +08:00
chore(go.mod): fix dependabot alerts (#1228)
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
GitHub
parent
5968e7199f
commit
5a2fb4108d
+6
-4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user