The past tense of do duty for is did duty for.
The third-person singular simple present indicative form of do duty for is does duty for.
The present participle of do duty for is doing duty for.
The past participle of do duty for is done duty for.