I am looking for a proof of the following statement:

Let $π: X \to Z$ be a surjective morphism between smooth projective varieties
such that $-K_X$ is nef and $Z$ is non-uniruled then Kodaira dimension of base $\kappa(Z)= 0$.