Only publish to docker when we commit to master

Forgot to add this the first time.