add options to push container on unstable/failed builds

Add two options to push the container at the end of a build in case the build is unstable or the build fails.
This changes the original behavior, the original push if successful check box triggered a push even if the build failed.

I use these new flags to store the builds for inspection on our private docker registry in case of test or build failures.