Sign inSign up

phybros/docker-hugo-builder

By phybros

•Updated over 4 years ago

An image for building hugo websites

Image
0

392

phybros/docker-hugo-builder repository overview

⁠docker-hugo-builder

A Docker image for building/minifying hugo websites.

⁠Usage

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/**

⁠Development

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).

Tag summary

Content type

Image

Digest

Size

37.5 MB

Last updated

over 4 years ago

docker pull phybros/docker-hugo-builder