TITLE: Push forward of the structure sheaf along covering
QUESTION [11 upvotes]: Let $f: X \to Y$ be a covering (proper, surjective, finite regular map) of smooth projective varieties of degree $d$. How one can show that in this case $f_* \mathcal{O}_X$ is a locally free sheaf of rank $d$?

REPLY [15 votes]: The answer relies on the following  incredibly general and simple result:  

Given a finite morphism of schemes $f:X\to Y$ with $Y$ locally noetherian, the sheaf $f_*\mathcal O_X$ is locally trivial iff $f$ is flat.    

The proof  consists in quoting a result in commutative algebra: a module $M$ over a ring $R$ is flat of finite presentation iff it is finitely generated and projective
[cf. Bourbaki, Commutative Algebra, Chapter II, §5.3, Corollary 2, page 111] 
Once more Mumford's brilliant aphorism applies:  

Flatness is a riddle that comes out of algebra , but which technically is the answer to many prayers.  

If $Y$ is smooth, any finite surjective morphism is flat and the above applies, so that $f_*\mathcal O_X$ is locally free, just as you wished.    
Edit
The last assertion is a particular case of a wonderful result, aptly named by some geometers miracle flatness. It goes like this: 

Let $f:X\to Y$ be a surjective morphism between varieties over a field,  with $X$ Cohen-Macaulay (for example regular) and $Y$ regular. If all fibers of $f$ are of the same dimension, then $f$ is flat.  

A reference for this theorem is GÖRTZ-WEDHORN, Corollary 14.128, page 475.