Switch 12v solenoid from 3v3 control signal
You're going to have to supply 12V separately.  An all-in one relay/solenoid driver with a MOSFET, gate resistor, and coil diode in the same package could be soldered to a little breakout board fairly easily.  The NUD3112 could be an attractive option.