[WIP][DO_NOT_MERGE] add an upstream image field to builds

Here's some formatting problem, I guess.