Files
blog/.gitea/Containerfile
Nikolaos Karaolidis 4e63a8c922
Some checks failed
Build and Release Site / builder (push) Successful in 1m0s
Build and Release Site / release (push) Failing after 21s
Add CI
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-09-14 17:51:09 +01:00

7 lines
394 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 | ltrimstr("v")') && \
curl -L -o /tmp/hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \
tar -xzf /tmp/hugo.tar.gz -C /usr/local/bin hugo && \
rm /tmp/hugo.tar.gz