Rebuild

When a Goliath is destroyed in combat you can go back to your camp and use the Goliath Construct station or get far enough into the main mission and unlock Olive she will repair any Goliath. If the Goliath is destroyed, Olive will ask for 300 coin to repair your Goliath. Olive is the better option if you can't find all the required items.