feat: add Dockerfile and build pipeline
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 51s
Build Docker Container / Build-Container-Image (push) Failing after 2s

This commit is contained in:
Alex Wellnitz 2025-03-17 14:20:00 +01:00
parent fa8cda57b8
commit 852636d2e1
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
name: Build Docker Container
run-name: ${{ gitea.actor }} is building container
on: [push]
jobs:
Build-Container-Image:
runs-on: ubuntu-latest
steps:
- run: docker build -t alexohneander/alexohneander-zola:latest .

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM ghcr.io/getzola/zola:v0.20.0 as zola
COPY . /project
WORKDIR /project
RUN ["zola", "build"]
FROM ghcr.io/static-web-server/static-web-server:2
WORKDIR /
COPY --from=zola /project/public /public