Fix #25350
followup of https://github.com/go-gitea/gitea/pull/25308 this time to build & push nightly docker images
Co-authored-by: silverwind <me@silverwind.io>