Backport of "gitlab-ci.yml: Allow tagging images built on upstream branches" into 1.16
Backport of !213 (merged) "gitlab-ci.yml: Allow tagging images built on upstream branches".
Needs manual intervention, cherry-picking failed!
Commits:
- eedde188 gitlab-ci.yml: Allow tagging images built on upstream branches
Edited by Nirbheek Chauhan