mirror of https://github.com/istio/istio.io.git
Update to Hugo 0.51 (#2921)
This commit is contained in:
parent
06d546c52c
commit
1d8f547826
|
|
@ -2,7 +2,7 @@ version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: gcr.io/istio-testing/website-builder:2018-10-08
|
- image: gcr.io/istio-testing/website-builder:2018-11-26
|
||||||
|
|
||||||
working_directory: ~/site
|
working_directory: ~/site
|
||||||
|
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
img := gcr.io/istio-testing/website-builder:2018-10-08
|
img := gcr.io/istio-testing/website-builder:2018-11-26
|
||||||
docker := docker run -t -i --sig-proxy=true --rm -v $(shell pwd):/site -w /site $(img)
|
docker := docker run -t -i --sig-proxy=true --rm -v $(shell pwd):/site -w /site $(img)
|
||||||
|
|
||||||
ifeq ($(CONTEXT),production)
|
ifeq ($(CONTEXT),production)
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,4 @@
|
||||||
command = "make netlify"
|
command = "make netlify"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.49"
|
HUGO_VERSION = "0.51"
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ RUN apk add --no-cache \
|
||||||
bash \
|
bash \
|
||||||
&& apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --allow-untrusted gnu-libiconv
|
&& apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --allow-untrusted gnu-libiconv
|
||||||
|
|
||||||
ENV HUGO_VERSION=0.49
|
ENV HUGO_VERSION=0.51
|
||||||
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz /tmp
|
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz /tmp
|
||||||
RUN tar -xf /tmp/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz -C /tmp \
|
RUN tar -xf /tmp/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz -C /tmp \
|
||||||
&& mkdir -p /usr/local/sbin \
|
&& mkdir -p /usr/local/sbin \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue