Skip to content

Commit

Permalink
fix: image name
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadch91 committed Dec 22, 2024
1 parent 43e0dfc commit 0542cfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provider/describer/container_package.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ func fetchAndAssembleOutput(
Username: "github",
Password: apiToken,
})

ref, err := name.ParseReference(imageRef)
imageRef = strings.ToLower(imageRef)
ref, err := name.ParseReference(imageRef,name.WeakValidation)
if err != nil {
return model.ContainerPackageDescription{},
fmt.Errorf("error parsing reference %s: %w", imageRef, err)
Expand Down

0 comments on commit 0542cfb

Please sign in to comment.