Go to file
Paolo Asperti 30b85c9950
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
migrate to debian slim
2023-02-14 01:37:57 +01:00
.drone.yml initial commit 2022-10-02 16:55:45 +02:00
Dockerfile migrate to debian slim 2023-02-14 01:37:57 +01:00
LICENSE initial commit 2022-10-02 16:55:45 +02:00
manifest.tmpl initial commit 2022-10-02 16:55:45 +02:00
README.md initial release 2022-10-02 16:57:57 +02:00

docker-hugo

Build Status

Simple container for hugo development

build

docker build . -t docker.asperti.com/paspo/hugo

run

Version check:

docker run --rm -ti docker.asperti.com/paspo/hugo version

Build hugo website:

docker run --rm -ti \
  -v "$PWD:/src" docker.asperti.com/paspo/hugo -s /src --gc --minify

drone plugin

---
kind: pipeline
type: docker
name: deploy

steps:
  - name: build hugo
    image: docker.asperti.com/paspo/hugo:latest
    pull: always
    commands:
      - "hugo -s /drone/src --gc --minify"

TODO

  • Auto build and update based on hugo version