IF you make your own baby food and freeze it how long is it good.for?

I make DD purees and freeze them in ice cubes and pit those in ziplock.bags and put that into a gallon ziplock bag

Curious I make food for about 1-2 weeks but when back to work I'd like to prep maybe 3-4 weeks out
Is food good?