mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
CVE-2022-23649: fix dependabot alert
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
3ada6af0de
commit
8db3e1b192
@@ -3371,7 +3371,7 @@ func signImage(tdir, port, repoName string, digest godigest.Digest) {
|
||||
options.RegistryOptions{AllowInsecure: true},
|
||||
map[string]interface{}{"tag": "1.0"},
|
||||
[]string{fmt.Sprintf("localhost:%s/%s@%s", port, repoName, digest.String())},
|
||||
"", true, "", false, false, "")
|
||||
"", true, "", "", "", false, false, "")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user