He defeated them by putting Pershings in Europe and launching the SDI program. The Reagan Doctrine was a direct rejection of containment and the Brezhnev Doctrine.
Yes, a military buildup. No invasion, however. They lost without us firing a shot. (Unless you count Grenada, which was basically a weekend-long rescue operation)