ci: reuse build metadata for docker build NOCHANGELOG
I tested this one on my fork, so I stop spamming MRs to fix this.
So we prepare some build metadata in one job, that can be reused by any other jobs. In that job we also prepare some docker-bake.*.json file for the docker job.
In the docker job, we rely on those bake file that contains the metadata, but cannot be prepared because we clone the repo (no fetch), which somehow breaks the way we guess the latest tag on the branch.
Edited by jooola