In Genesis, Noah planted a vineyard after the Flood before the episode involving his drunkenness.
Genesis 9 says that Noah, described as a man of the soil, began by planting a vineyard. He later drank wine made from it, became drunk, and lay uncovered inside his tent. The story then describes how his sons responded and how Noah reacted after learning what had happened.
The vineyard detail comes after the covenant and the instruction for Noah’s family to repopulate the earth. It is not part of the Ark’s construction or the period when the family was confined inside the vessel. The text gives no indication that Noah planted the vineyard immediately upon landing, only that it occurred afterward.
Popular summaries sometimes reduce this episode to Noah simply drinking wine, but Genesis specifically links the wine to a vineyard that he planted. It also distinguishes Noah’s drunkenness from the Flood narrative itself, which has already concluded.