Browse Source

build(docker): update for hugo release 0.61.0

pull/198/head
Josh Habdas 1 year ago
parent
commit
0a1dc5018d
Signed by: jhabdas GPG Key ID: B148B31154C75A74
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      Dockerfile
  2. +1
    -1
      docker/hugo/Dockerfile
  3. +1
    -1
      docs/content/feature/extended-builds.id.md
  4. +1
    -1
      docs/content/feature/extended-builds.md

+ 1
- 1
Dockerfile View File

@ -27,7 +27,7 @@ ARG BUILD_TARGET=alpine3.10
FROM golang:${GO_VERSION}-${BUILD_TARGET} AS hugobuilder
# Set hugo environment variables
ENV HUGO_VERSION=0.60.0 \
ENV HUGO_VERSION=0.61.0 \
CGO_ENABLED=1 \
GOOS=linux \
GO111MODULE=on \

+ 1
- 1
docker/hugo/Dockerfile View File

@ -27,7 +27,7 @@ ARG BUILD_TARGET=alpine3.10
FROM golang:${GO_VERSION}-${BUILD_TARGET} AS hugobuilder
# Set environment variables
ENV HUGO_VERSION=0.60.0 \
ENV HUGO_VERSION=0.61.0 \
CGO_ENABLED=1 \
GOOS=linux \
GO111MODULE=on \

+ 1
- 1
docs/content/feature/extended-builds.id.md View File

@ -31,7 +31,7 @@ Where `f2b785583ce8` is the scratch container's Image ID and `/usr/local/bin` is
For builds without Sass support enabled turn off `CGO_ENABLED`, pass in a phony value to `BUILD_TAGS`, create another build and give it a docker tag:
```sh
docker tag $(docker images -q | head -n 1) gohugoio/hugo:v0.60.0
docker tag $(docker images -q | head -n 1) gohugoio/hugo:v0.61.0
```
It's recommended at least 2GB of storage space is available when running builds. The resulting binary inside the scratch container is less than 50MB.

+ 1
- 1
docs/content/feature/extended-builds.md View File

@ -31,7 +31,7 @@ Where `f2b785583ce8` is the scratch container's Image ID and `/usr/local/bin` is
For builds without Sass support enabled turn off `CGO_ENABLED`, pass in a phony value to `BUILD_TAGS`, create another build and give it a docker tag:
```sh
docker tag $(docker images -q | head -n 1) gohugoio/hugo:v0.60.0
docker tag $(docker images -q | head -n 1) gohugoio/hugo:v0.61.0
```
It's recommended at least 2GB of storage space is available when running builds. The resulting binary inside the scratch container is less than 50MB.

Loading…
Cancel
Save