The letter Y can be pronounced many ways.  It can be pronounced the following ways:

Long I in SKY

Short i in GYM

Long E in LADY

Y in YES

If combined with another vowel into a digraph, since Y is sometimes a vowel, then it can be pronounced:

Long OY in OYSTER

Long A in PLAYER

Long E in ALLEY