Open FranziskaKnoedtel opened 5 months ago
Update: The docker container for generating the git version seems to be deleted.
franzi@devserver2:~/yocto-images$ docker pull elbb/bb-gitversion:0.7.0
Error response from daemon: pull access denied for elbb/bb-gitversion, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Problem Description: The makefile does acquire the image version by using a git version container. This fails on old merged states if the commit you are using is only tagged and do not belong to a branch anymore.
How to Reproduce: Checkout for example the tag v1.3.1. Try to build any of the images:
This happens because the json generated by git version contains:
The tag used is lightweight and not annotated. Maybe this could be a problem, because the git documentation says (https://git-scm.com/docs/git-tag):