diff --git a/tools/vulndb/internal/oci/push.go b/tools/vulndb/internal/oci/push.go index c1a6630..99cb6bd 100644 --- a/tools/vulndb/internal/oci/push.go +++ b/tools/vulndb/internal/oci/push.go @@ -46,13 +46,15 @@ func PushArtifact(ctx context.Context, path string, username string, password st return err } + manifestDescriptor.Annotations["org.opencontainers.image.source"] = "https://github.com/AlexGustafsson/cupdate" + tag := "latest" if err = fs.Tag(ctx, manifestDescriptor, tag); err != nil { return err } reg := "ghcr.io" - repo, err := remote.NewRepository(reg + "/alexgustafsson/cupdate") + repo, err := remote.NewRepository(reg + "/alexgustafsson/cupdate-vulndb") if err != nil { return err }