You've already forked hugo-docker
mirror of
https://github.com/jakejarvis/hugo-docker.git
synced 2025-07-03 13:16:38 -04:00
update readme & random cleanup
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Build
|
name: Build and Push
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -12,8 +12,8 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare tags
|
||||||
id: prep
|
id: tag
|
||||||
env:
|
env:
|
||||||
HUB_IMAGE: jakejarvis/hugo-extended
|
HUB_IMAGE: jakejarvis/hugo-extended
|
||||||
GHCR_IMAGE: ghcr.io/jakejarvis/hugo-extended
|
GHCR_IMAGE: ghcr.io/jakejarvis/hugo-extended
|
||||||
@ -70,7 +70,7 @@ jobs:
|
|||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.prep.outputs.tags }}
|
tags: ${{ steps.tag.outputs.tags }}
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||||
|
|
||||||
|
10
README.md
10
README.md
@ -1,8 +1,8 @@
|
|||||||
# ✏️ [Hugo Extended](https://github.com/gohugoio/hugo) via Docker
|
# ✏️ [Hugo Extended](https://github.com/gohugoio/hugo) via Docker
|
||||||
|
|
||||||
[](https://hub.docker.com/r/jakejarvis/hugo-extended)
|
[](https://github.com/jakejarvis/hugo-docker/actions/workflows/build.yml)
|
||||||
|
|
||||||
A base image to ease local development of Hugo sites, including [Hugo Extended](https://gohugo.io/troubleshooting/faq/#i-get-tocss-this-feature-is-not-available-in-your-current-hugo-version) (with SASS/SCSS support) and optional third-party tools ([listed below](#third-party-software)).
|
A base image to ease local development of Hugo sites, including [Hugo Extended](https://gohugo.io/troubleshooting/faq/#i-get-tocss-this-feature-is-not-available-in-your-current-hugo-version) (with SASS/SCSS support) and optional third-party tools ([listed below](#third-party-software)). Now includes native support for both AMD64 and ARM64 platforms!
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@ -35,11 +35,11 @@ When using Docker to run a live server (i.e. `hugo server`), you must pass `--bi
|
|||||||
|
|
||||||
## Third-party software
|
## Third-party software
|
||||||
|
|
||||||
Just in case, the final container includes a few small third-party tools that are required by certain optional Hugo features:
|
Just in case, the final Alpine Linux container includes a few small third-party tools that are required by certain optional Hugo features:
|
||||||
|
|
||||||
- [PostCSS (CLI)](https://github.com/postcss/postcss-cli)
|
- [PostCSS](https://github.com/postcss/postcss-cli)
|
||||||
- [Autoprefixer](https://github.com/postcss/autoprefixer)
|
- [Autoprefixer](https://github.com/postcss/autoprefixer)
|
||||||
- [Babel (CLI)](https://babeljs.io/)
|
- [Babel](https://babeljs.io/)
|
||||||
- [Pygments](https://pygments.org/)
|
- [Pygments](https://pygments.org/)
|
||||||
- [Asciidoctor](https://asciidoctor.org/)
|
- [Asciidoctor](https://asciidoctor.org/)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user