03083c655e
* upgrade: Hugo to v0.58.0 * fix: push workflow * remove: tag filter from push workflow * upgrade: base image golang to 1.13.0 - https://gohugo.io/news/0.58.0-relnotes/ - https://discourse.gohugo.io/t/hugo-benchmarks-go-1-12-vs-go-1-13/20572
19 lines
715 B
Docker
19 lines
715 B
Docker
FROM golang:1.13.0-buster
|
|
|
|
LABEL "com.github.actions.name"="Hugo action"
|
|
LABEL "com.github.actions.description"="GitHub Actions for Hugo extended and Hugo Modules"
|
|
LABEL "com.github.actions.icon"="package"
|
|
LABEL "com.github.actions.color"="yellow"
|
|
|
|
LABEL "repository"="https://github.com/peaceiris/actions-hugo"
|
|
LABEL "homepage"="https://github.com/peaceiris/actions-hugo"
|
|
LABEL "maintainer"="peaceiris"
|
|
|
|
ENV HUGO_VERSION='0.58.0'
|
|
ENV HUGO_NAME="hugo_extended_${HUGO_VERSION}_Linux-64bit"
|
|
ENV HUGO_URL="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_NAME}.tar.gz"
|
|
RUN wget "${HUGO_URL}" && \
|
|
tar -zxvf "${HUGO_NAME}.tar.gz" && \
|
|
mv ./hugo /go/bin/
|
|
|
|
ENTRYPOINT [ "/go/bin/hugo" ]
|