The following comments are based on old style grease guns I have, yours may vary of course.
A cardboard / foil tube of grease is what probably mates with the cork seal at the bottom of the gun in normal use.
If you've filled one with oil, you may need to angle the reservoir upward so the air is at the top and the oil is totally covering the hole over the ball valve at the cork seal end so it will feed.
In grease use, there is a spring loaded plunger pushing on the grease inside the reservoir. The grease tubes come with a sort of built in piston /seal cap at the outer end, that the plunger pushes on. This keeps grease feeding the outlet hole.
Unless you have made a piston and seal to cover the oil in the tube and push on it, you will need to hold the reservoir oriented to keep the hole covered in oil – gravity oil feed.
After greasing with these guns with grease, as originally intended, it is important to pull out and rotate the spring plunger to lock it out and release spring pressure. If you don't the grease may leak slowly past the ball valve and onto the floor or bench. For gravity fed oil use, this may not be a problem.
Good luck JD