This commit is contained in:
parent
4424ad0e9f
commit
6279d543d7
@ -2,7 +2,7 @@ ARG GO_VERSION=1.18.3
|
||||
|
||||
FROM amd64/golang:$GO_VERSION-alpine AS build
|
||||
|
||||
ARG HUGO_VERSION=0.101.0
|
||||
ARG HUGO_VERSION=0.121.0
|
||||
|
||||
RUN apk add --no-cache git build-base && \
|
||||
git clone --branch v$HUGO_VERSION https://github.com/gohugoio/hugo.git && \
|
||||
@ -20,7 +20,7 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
|
||||
RUN apk --no-cache --repository http://nl.alpinelinux.org/alpine/edge/main add git gcompat libstdc++
|
||||
|
||||
ENV PLUGIN_HUGO_ARCH=64bit
|
||||
ENV PLUGIN_HUGO_SHIPPED_VERSION=0.101.0
|
||||
ENV PLUGIN_HUGO_SHIPPED_VERSION=0.121.0
|
||||
|
||||
COPY --from=build /tmp/hugo /bin/hugo
|
||||
COPY --from=build /tmp/hugo-extended /bin/hugo-extended
|
||||
|
@ -2,7 +2,7 @@ ARG GO_VERSION=1.18.3
|
||||
|
||||
FROM arm32v6/golang:$GO_VERSION-alpine AS build
|
||||
|
||||
ARG HUGO_VERSION=0.101.0
|
||||
ARG HUGO_VERSION=0.121.0
|
||||
|
||||
RUN apk add --no-cache git build-base && \
|
||||
git clone --branch v$HUGO_VERSION https://github.com/gohugoio/hugo.git && \
|
||||
@ -20,7 +20,7 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
|
||||
RUN apk --no-cache --repository http://nl.alpinelinux.org/alpine/edge/main add git gcompat libstdc++
|
||||
|
||||
ENV PLUGIN_HUGO_ARCH=arm
|
||||
ENV PLUGIN_HUGO_SHIPPED_VERSION=0.101.0
|
||||
ENV PLUGIN_HUGO_SHIPPED_VERSION=0.121.0
|
||||
|
||||
COPY --from=build /tmp/hugo /bin/hugo
|
||||
COPY --from=build /tmp/hugo-extended /bin/hugo-extended
|
||||
|
@ -2,7 +2,7 @@ ARG GO_VERSION=1.18.3
|
||||
|
||||
FROM arm64v8/golang:$GO_VERSION-alpine AS build
|
||||
|
||||
ARG HUGO_VERSION=0.101.0
|
||||
ARG HUGO_VERSION=0.121.0
|
||||
|
||||
RUN apk add --no-cache git build-base && \
|
||||
git clone --branch v$HUGO_VERSION https://github.com/gohugoio/hugo.git && \
|
||||
@ -20,7 +20,7 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
|
||||
RUN apk --no-cache --repository http://nl.alpinelinux.org/alpine/edge/main add git gcompat libstdc++
|
||||
|
||||
ENV PLUGIN_HUGO_ARCH=arm64
|
||||
ENV PLUGIN_HUGO_SHIPPED_VERSION=0.101.0
|
||||
ENV PLUGIN_HUGO_SHIPPED_VERSION=0.121.0
|
||||
|
||||
COPY --from=build /tmp/hugo /bin/hugo
|
||||
COPY --from=build /tmp/hugo-extended /bin/hugo-extended
|
||||
|
Loading…
Reference in New Issue
Block a user