Use chart versions for image tags, not git tags
We need to solve the problem that in order to test a new MR, sometimes a new images must be build, which needs to get references in values.yaml. In wordpress-helm!80 (merged) i.e. a git tag was pushed to the MR branch in order to build a new image. The problem is that this new image is pushed to the same registry like the images from the main branch are pushed, so we basically release a new image before the MR is merged.
I propose:
- don't use git tags at all and only rely on versions set in Chart.yaml (to avoid the need to make changes in 2 places)
- in a branch,
- build an image when chart.yaml changed,
- use a 0.4.3-beta1 version i.e. until MR works
- right before review change version to 0.4.3