If you’re looking for a Docker image, you might consider… the official one:
https://github.com/gohugoio/hugo/pkgs/container/hugo
Here’s an example of using the official image when building a project for GitHub Pages:
https://github.com/jmooring/hosting-github-pages-official-docker-image/blob/main/.github/workflows/hugo.yaml