mirror of
https://github.com/jakejarvis/hugo-docker.git
synced 2025-04-26 03:45:22 -04:00
update readme & random cleanup
This commit is contained in:
parent
783939f439
commit
9be7813071
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Build
|
||||
name: Build and Push
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -12,8 +12,8 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Prepare
|
||||
id: prep
|
||||
- name: Prepare tags
|
||||
id: tag
|
||||
env:
|
||||
HUB_IMAGE: jakejarvis/hugo-extended
|
||||
GHCR_IMAGE: ghcr.io/jakejarvis/hugo-extended
|
||||
@ -70,7 +70,7 @@ jobs:
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: ${{ steps.prep.outputs.tags }}
|
||||
tags: ${{ steps.tag.outputs.tags }}
|
||||
cache-from: type=local,src=/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
|
||||
|
||||
[](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
|
||||
|
||||
@ -35,11 +35,11 @@ When using Docker to run a live server (i.e. `hugo server`), you must pass `--bi
|
||||
|
||||
## 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)
|
||||
- [Babel (CLI)](https://babeljs.io/)
|
||||
- [Babel](https://babeljs.io/)
|
||||
- [Pygments](https://pygments.org/)
|
||||
- [Asciidoctor](https://asciidoctor.org/)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user