Fix hard-coded default branch name of *main* when pushing multi-arch image manifests.
This shared library allows jobs to build and publish container images to Gitea very easily:
buildContainerImage()
That's it!