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 41a21b5606
Build & Deploy Tippspiel / build (push) Has been cancelled
fix: use shell-based checkout for self-hosted runner
actions/checkout@v4 needs Node.js which isn't available in host mode.
Use git clone directly instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 10:09:33 +02:00

23 lines
517 B
YAML

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