don't build imaghes if test or pre-commit fail
don't build imaghes if test or pre-commit fail