As others have noted, you are not allowed to drink in your duty uniform. Now if you are in your dress uniform, attending a social event, such as a military ball, wedding, or other military function where alcohol is provided, you would be okay.