An image for building hugo websites
392
A Docker image for building/minifying hugo websites.
In Bitbucket Pipelines, the image can be used like this:
image: phybros/docker-hugo-builder:0.83.1
pipelines:
branches:
main:
- step:
name: Build and minify files
script:
- hugo --config my-config.toml
- minify -r -o public/ public/
artifacts:
- public/**
To create new docker tags, make your changes tag the repo and push up, and Dockerhub will do the rest (including making a new image tag).
Content type
Image
Digest
Size
37.5 MB
Last updated
over 4 years ago
docker pull phybros/docker-hugo-builder