Police say the attacker detonated explosives strapped to his body near the governor 's headquarters in the city of Tarin Kot .