Does riding have a long or short vowel sound?

It has one of each. The first I has a long I sound as in ride, and the second I has a short I sound.