NGL, this is when "Don't Ask Don't Tell" would have come in handy. I'd tell. I'd be a flaming hot gay mess and get discharged.
But since that option is out the window (and rightfully so, for the gays who do want to serve), I'd probably just serve my country. That doesn't mean I wouldn't think of every last alternative way of getting out of it, though.