Temperature-induced migration of a bubble in a soft microcavity