![](https://seccdn.libravatar.org/avatar/82e205074998b62b41625d6de2784e5d.jpg?s=120&d=mm&r=g)
Good morning Dan, long time no see... On 13.05.24 08:40 Dan Čermák wrote:
Johannes Kastl
writes:
Is there any documentation on how to use the BuildTags and the labels?
The only thing that I am aware of is this wiki page: https://en.opensuse.org/Building_derived_containers
Thanks!
And then there's my talk from the openSUSE Conference 2023: https://www.youtube.com/watch?v=d9LTLzoJzJE (slides are here: https://github.com/dcermak/building-containers-in-obs)
Yes, I remembered that one. Was hoping we had a written summary of the topic, but might as well rewatch it. It was fun.
I guess you might missing the docker label helper service and the replace-using-package-version service to substitute `%%PKG_VERSION%%` and `%RELEASE%`.
I found those bits and pieces in Richard's examples and have a working image. I also found out that I am not allowed to use tags like home/ojkastl_buildservice/... that match the final "path" in the registry. Rather than that I need to use opensuse (or bci or uyuni or ...), as other tags are not allowed. Same for the registry label. Kind Regards, Johannes