Hello, Snowandcloud-- and welcome to English Forums. Both pronunciations are in use and are acceptable. There is no absolute rule on vowel sounds in English, as different dialects have different pronunciations.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.