What if I am a resident of the township but work in a city?

If you work in a city & it has an income tax then you must pay income tax to that city. Usually it is withheld by your employer