From 5eca9ca01c89bf0c505894d320f2738e1ecf79ec Mon Sep 17 00:00:00 2001 From: Alex Gustafsson Date: Sun, 29 Dec 2024 17:50:55 +0100 Subject: [PATCH] WIP --- tools/vulndb/internal/oci/push.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/vulndb/internal/oci/push.go b/tools/vulndb/internal/oci/push.go index 2a5bcad..cd628b4 100644 --- a/tools/vulndb/internal/oci/push.go +++ b/tools/vulndb/internal/oci/push.go @@ -25,7 +25,7 @@ func PushArtifact(ctx context.Context, path string, username string, password st defer fs.Close() mediaType := "application/x-sqlite3" - fileDescriptor, err := fs.Add(ctx, path, mediaType, "") + fileDescriptor, err := fs.Add(ctx, path, mediaType, path) if err != nil { return err }