It is becoming more and more common to hear "good morning" and both ways are well used. Good morning is said according to the RAE to refer to the successive days and not only to that moment, as we commonly say: good morning, good afternoon and good night. So don't be afraid to use these words both ways are correct to use.