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