From 0542cfb03c7aeaa1807d26024e28a1ca0656e1df Mon Sep 17 00:00:00 2001 From: Mohamad Choupan Date: Mon, 23 Dec 2024 02:38:50 +0330 Subject: [PATCH] fix: image name --- provider/describer/container_package.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/provider/describer/container_package.go b/provider/describer/container_package.go index 43d9146f..8bc7b967 100644 --- a/provider/describer/container_package.go +++ b/provider/describer/container_package.go @@ -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)