Add CI
Some checks failed
Build and Release Site / builder (push) Successful in 1m1s
Build and Release Site / release (push) Failing after 22s

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-14 17:59:07 +01:00
parent 74873651a8
commit fcee0f1a3b
3 changed files with 62 additions and 0 deletions

7
.gitea/Containerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM ghcr.io/catthehacker/ubuntu:act-latest
RUN apt-get update && apt-get install -y libwebp-dev libjpeg-dev libpng-dev libgif-dev
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_extended_${HUGO_VERSION}_Linux-64bit.tar.gz && \
tar -xzf /tmp/hugo.tar.gz -C /usr/local/bin hugo && \
rm /tmp/hugo.tar.gz