build a release image