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:
LaurentiuNiculae
2023-05-23 18:16:33 +03:00
committed by GitHub
parent 60148138d5
commit 6e6ffe800c
3 changed files with 22 additions and 27 deletions
+2 -6
View File
@@ -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)