Bump api version to 1.9 and return hash output when building an image