name: Build & Deploy Tippspiel on: push: branches: [main] jobs: build: runs-on: self-hosted steps: - name: Checkout run: | rm -rf workspace && mkdir workspace git clone --depth 1 --branch main http://gitea:3000/mwf975_git/tippspiel.git workspace - name: Build Docker Image run: | cd workspace docker build -t wm2026-tippspiel:latest -t wm2026-tippspiel:${GITHUB_SHA:-latest} . - name: Cleanup run: rm -rf workspace