A couple of thoughts - if one of the grocery stores near you has the service where they pack your groceries and you pick them up, use that to avoid temptation.

the second suggestion requires buying things - i’m Sorry. Buy several nesting boxes with combination locks. Put your car keys inside the innermost box every time you come home, and on each lid write your best ideas for alternate snacks/meals or actions to junk food or other messages you find motivating. The time it takes to get to your keys may help you get through the craving. Also, the annoyance might make you choose to take your bike more often.