How keep raccoons out of our garage and eating all the cats food?



We will be going out of town soon for a few days and we want to leave the cat food in the garage but if we do the raccoons will eat everything and leave the cat nothing. We have a outside cat so we cant close the garage or it will go crazy and the raccoons come from the woods right behind our house.