Browse Source

[hugo][CI skip] Use variable in all dockerfile

drymer 1 year ago
parent
commit
657989b4b7
Signed by: drymer <drymer@autistici.org> GPG Key ID: A307D64D5DDFDAAD
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      hugo/Dockerfile

+ 1
- 1
hugo/Dockerfile View File

@@ -1,7 +1,7 @@
1 1
 FROM alpine:3.7 as builder
2 2
 
3 3
 ENV VERSION=0.46
4
-RUN wget https://github.com/gohugoio/hugo/releases/download/v0.46/hugo_${VERSION}_Linux-64bit.tar.gz -O /hugo.tar.gz
4
+RUN wget https://github.com/gohugoio/hugo/releases/download/v${VERSION}/hugo_${VERSION}_Linux-64bit.tar.gz -O /hugo.tar.gz
5 5
 RUN apk add -U tar && tar -xz -f /hugo.tar.gz
6 6
 
7 7
 FROM scratch as production

Loading…
Cancel
Save