Reorganises the build, creating per-tag and per-branch Docker tags, and leaving "latest" for the tip of the main branch.