The source project of this merge request has been removed.
create arm64 image for hugo
create arm64 image for hugo
- switch from docker to podman for building images
- build arm64 images
- add go, required to use the hugo modules feature - https://gohugo.io/installation/linux/
Fixes
- arm64 image for hugo - #86
- build failure when using modules (!195 (closed))
$ 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