Yes both infection and antibiotics can cause an increase in blood glucose levels. Generally they settle again when the infection is over and the course of treament finished, though could take a week or two. Keep testing BG regularly, drink plenty of non-sugary fluids.
Get well soon.