Sofia Vergara has shared a series of racy snaps as she enjoys some time away from film sets to soak up the sun.