Skip to content

Commit

Permalink
Upgrade Hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
henriksommerfeld committed Nov 23, 2024
1 parent 4ba4d0e commit d3e5cfe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM mcr.microsoft.com/playwright:v1.47.1 AS playwright

FROM playwright AS playwright-hugo
ARG HUGO_VERSION="0.134.3"
ARG HUGO_VERSION="0.139.0"
RUN wget --max-redirect=1 -O /tmp/hugo.tar.gz "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz"
RUN tar zxvf /tmp/hugo.tar.gz -C /tmp/
RUN mv /tmp/hugo /usr/bin/
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build.environment]
HUGO_VERSION="0.134.3"
HUGO_VERSION="0.139.0"
NODE_ENV="production"
2 changes: 1 addition & 1 deletion scripts/compose-hugo.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:22.11.0-alpine AS base
RUN apk add --update tzdata rsync openssh gcompat libc6-compat libstdc++ wget

FROM base AS hugo
ARG HUGO_VERSION="0.134.3"
ARG HUGO_VERSION="0.139.0"
RUN wget --max-redirect=1 -O /tmp/hugo.tar.gz "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz"
RUN tar zxvf /tmp/hugo.tar.gz -C /tmp/
RUN mv /tmp/hugo /usr/bin/
Expand Down

0 comments on commit d3e5cfe

Please sign in to comment.