After building the image we should test if we get proper status code from the HTTP endpoint - only then should the image be pushed to mainline tag