Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGustafsson committed Dec 29, 2024
1 parent a728040 commit bab9850
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/vulndb/internal/oci/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit bab9850

Please sign in to comment.