We examine the quasistatic thermocapillary migration of a gas bubble normal to a solidified interface. The analysis accounts for the deformation of the solid-liquid interface caused by the bubble's presence. An expression for the distance between the bubble surface and the crystal-melt interface is derived, and used to quantify the dependence of the bubble's migration velocity on the processing variables and material properties of the directional solidification process.