Whisky vs. Whiskey

Some people have noticed that some bottles will spell it “whiskey” (with an ‘e’) and others spell it “whisky.” But which one is correct? Actually, they both are correct.