I didn't tell anyone to begin with. I let my action speak for me for a couple of months and then addressed it with my spouse when I was ready. I have shared this struggle with my sister too. She has been sober 20 years and understands.
Wishing you the best.