I doubt that you will do it (now or in the future). I doubted that you would do it (in the past).
Here's the confusion for the first sentence. If the case is purely hypothetical, would is the proper form. [ If you found a million dollars on the street, would you keep it for yourself? I doubt that you would. ]