feat: add Gitea Actions CI pipeline for Docker build
Build & Deploy Tippspiel / build (push) Failing after 5s

Builds Docker image on push to main via self-hosted runner on NAS.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ronny
2026-04-06 10:08:01 +02:00
parent 7bd22b53e9
commit 832a3d3677
+20
View File
@@ -0,0 +1,20 @@
name: Build & Deploy Tippspiel
on:
push:
branches: [main]
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build Docker Image
run: |
docker build -t wm2026-tippspiel:latest -t wm2026-tippspiel:${{ gitea.sha }} .
- name: Restart Container
run: |
docker compose -f /tmp/tippspiel-compose.yml up -d --force-recreate 2>/dev/null || echo "Stack not yet deployed via Portainer"