24 lines
915 B
Text
24 lines
915 B
Text
= Docker image to build Hugo sites in a CI environment
|
|
|
|
I created this image because all of the current options for
|
|
building my Hugo sites in a CI environment were either missing
|
|
some dependencies needed for my site or the contained Hugo version
|
|
was too old.
|
|
|
|
== Features
|
|
|
|
* Based on the official Arch Linux image
|
|
* Included dependencies (latest versions available for Arch Linux at build time)
|
|
** Hugo
|
|
** AsciiDoctor
|
|
*** link:https://github.com/jirutka/asciidoctor-html5s[AsciiDoctor html5s backend]
|
|
** go
|
|
** Rouge syntax highlighter
|
|
** npm and nodejs
|
|
** git
|
|
|
|
== Installation
|
|
|
|
See https://git.korhonen.cc/FunctionalHacker/-/packages/container/hugo-asciidoc-docker-ci/latest
|
|
|
|
link:https://git.korhonen.cc/FunctionalHacker/korhonen.cc/src/branch/main/.forgejo/workflows/deploy_site.yaml[GitHub/Forgejo/Gitea Actions example usage]. This is how I build and deploy my homepage link://https://korhonen.cc[korhonen.cc].
|