Production of concrete pipes