What kind of anchor should I use if I’m attaching conduit to a foundation wall?

Use either hammer anchors or a concrete/masonry screw.