Cristiano Ronaldo on Thursday announced his retirement from international football, ending a more than two-decade career with Portugal's national team.