Go to file
paspo 01de5baae1
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Vulnerability Scan / Daily Vulnerability Scan (push) Failing after 4m54s
temporary fix because of upstream
2024-12-16 15:17:43 +01:00
.gitea/workflows cached trivy db 2024-12-02 16:21:41 +01:00
.drone.yml publish on cron 2024-05-25 19:42:04 +02:00
Dockerfile temporary fix because of upstream 2024-12-16 15:17:43 +01:00
LICENSE initial commit 2022-10-02 16:55:45 +02:00
manifest.tmpl removed useless container tags 2024-05-02 09:23:59 +02:00
README.md updated readme 2024-05-02 10:23:39 +02:00

docker-hugo

Build Status

Simple container for hugo development

available tags

tag description
latest multi-arch manifest
latest-amd64 latest build for amd64 architecture
latest-arm64 latest build for arm64 architecture

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"