Your king is already on g6, and the black rook is stuck on the eighth rank. The win is a rook maneuver, and your king does not move at all.