Add support for building before publish to Openshift