Continuous integration for building images