If the image being built is only for a single architecture, the step to unstash the OCI archive file was missing. This caused the build to fail at the Push step, since there was noting to push.
This shared library allows jobs to build and publish container images to Gitea very easily:
buildContainerImage()
That's it!