This repository has been archived on 2026-05-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
tippspiel/.gitea/workflows/build.yml
T
Ronny 832a3d3677
Build & Deploy Tippspiel / build (push) Failing after 5s
feat: add Gitea Actions CI pipeline for Docker build
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>
2026-04-06 10:08:01 +02:00

21 lines
497 B
YAML

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"