From fe4dfe34f3497b7c9d85a21d8fa3fcc21d4beba8 Mon Sep 17 00:00:00 2001 From: zongz Date: Tue, 4 Jun 2024 16:10:35 +0800 Subject: [PATCH] fix: fix windows path case Signed-off-by: zongz --- pkg/opt/opt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/opt/opt.go b/pkg/opt/opt.go index 8feba824..74ff6c11 100644 --- a/pkg/opt/opt.go +++ b/pkg/opt/opt.go @@ -286,7 +286,7 @@ func NewOciOptionsFromRef(refStr string, settings *settings.Settings) (*OciOptio if err != nil { return nil, err } - repo = filepath.Join(repo, pkgName) + repo = fmt.Sprintf("%s/%s", repo, pkgName) } else { reg = ref.Registry repo = ref.Repository