Files
blog/.gitea/Containerfile
Nikolaos Karaolidis 79edf61eeb
All checks were successful
Build and Release Site / builder (push) Successful in 2m25s
Build and Release Site / release (push) Successful in 1m50s
Add CI
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-09-14 19:10:17 +01:00

7 lines
396 B
Docker

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