Adds retaging in build to not re-build images for new branch names

Merged Florian Dobener requested to merge retag-in-build into develop

Merge request reports