1yr old not eating?

I mean, he does eat, but he only eats those mushy baby food that comes in a jar. And drinks milk.

Everytime i try to feed him my food, like chicken, rice, beef, veggies, and fruits, hed vomit afterwards. And i dont even feed him a lot, just in small pieces. Its like hes making himself vomit.

It happens constantly, so i decided not to feed him those kinds of food, only mushy baby food. He wont even eat those baby food that are bite pieces. Hed just vomit it out too.

But im worried that hes not getting enough! Anyone been thru this? Any advice? His pediatrician said to just keep feeding him, and to smush the food.