mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
chore(go.mod): upgrade to notation-go v1.0.0-rc.5 and image-spec v1.1.0-rc3 (#1468)
Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
This commit is contained in:
+2
-6
@@ -1179,9 +1179,7 @@ func SignWithNotation(keyName string, reference string, tdir string) error {
|
||||
PlainHTTP: plainHTTP,
|
||||
}
|
||||
|
||||
repositoryOpts := notreg.RepositoryOptions{
|
||||
OCIImageManifest: true,
|
||||
}
|
||||
repositoryOpts := notreg.RepositoryOptions{}
|
||||
|
||||
sigRepo := notreg.NewRepositoryWithOptions(remoteRepo, repositoryOpts)
|
||||
|
||||
@@ -1265,9 +1263,7 @@ func VerifyWithNotation(reference string, tdir string) error {
|
||||
PlainHTTP: plainHTTP,
|
||||
}
|
||||
|
||||
repositoryOpts := notreg.RepositoryOptions{
|
||||
OCIImageManifest: true,
|
||||
}
|
||||
repositoryOpts := notreg.RepositoryOptions{}
|
||||
|
||||
repo := notreg.NewRepositoryWithOptions(remoteRepo, repositoryOpts)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user