Skip to content

create arm64 image for hugo

Ritesh Khadgaray requested to merge ritzk/hugo:multi-arch into registry

create arm64 image for hugo

Fixes

$ hugo 
Total in 1 ms 
Error: failed to load modules: failed to download modules: binary with name 'go' not found

Notes

The jobs need to be split, as arm64 compilation takes a while.

  • jobs would hit the 1hr default timeout.
  • would speed up the execution

The only way around this is to build hugo outside a container using GOARCH, and then copy the final build into the container. ( https://www.digitalocean.com/community/tutorials/building-go-applications-for-different-operating-systems-and-architectures )

Edited by Ritesh Khadgaray

Merge request reports