diff --git a/server/images.go b/server/images.go index 7bda6bf0..8d784fef 100644 --- a/server/images.go +++ b/server/images.go @@ -397,7 +397,7 @@ func CreateModel(ctx context.Context, name string, path string, fn func(resp api if err != nil { return err } - newLayer.From = mp.GetNamespaceRepository() + newLayer.From = mp.GetShortTagname() layers = append(layers, newLayer) } }