6
.gitea/Containerfile
Normal file
6
.gitea/Containerfile
Normal file
@@ -0,0 +1,6 @@
|
||||
FROM ghcr.io/catthehacker/ubuntu:act-latest
|
||||
|
||||
RUN HUGO_VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.tag_name') \
|
||||
&& curl -L -o /tmp/hugo.tar.gz "https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION#v}_Linux-64bit.tar.gz" \
|
||||
&& tar -xzf /tmp/hugo.tar.gz -C /usr/local/bin hugo \
|
||||
&& rm /tmp/hugo.tar.gz
|
Reference in New Issue
Block a user