drone correct arch management
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build was killed

This commit is contained in:
2023-02-14 01:46:59 +01:00
parent 30b85c9950
commit 07fc555bed
2 changed files with 10 additions and 1 deletions

View File

@@ -1,8 +1,9 @@
FROM debian:11-slim
ARG HUGO_VERSION=0.110.0
ARG HUGO_ARCH=amd64
ADD "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb" /tmp/hugo.deb
ADD "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-${HUGO_ARCH}.deb" /tmp/hugo.deb
RUN \
apt install -y /tmp/hugo.deb && rm /tmp/hugo.deb