Stufe 0: Grundgerüst mit Rechenkern, Datenbank, Oberfläche und Docker-Betrieb

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
Claude
2026-10-17 16:37:54 +00:00
commit 92d26baa4b
45 changed files with 6143 additions and 0 deletions

38
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
# Freigabe: Versionsnummer als Tag setzen (z. B. v1.0.0). Daraus entsteht das Image
# ghcr.io/<besitzer>/<repo>:1.0.0, das auf dem Server mit deploy/update.sh eingespielt wird.
name: Release
on:
push:
tags: ["v*.*.*"]
permissions:
contents: write
packages: write
jobs:
image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: v
run: |
echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
echo "image=ghcr.io/${GITHUB_REPOSITORY,,}" >> "$GITHUB_OUTPUT"
- uses: docker/build-push-action@v6
with:
context: .
push: true
build-args: APP_VERSION=${{ steps.v.outputs.version }}
tags: ${{ steps.v.outputs.image }}:${{ steps.v.outputs.version }}
- name: Release-Notiz aus CHANGELOG.md
run: |
awk -v v="${{ steps.v.outputs.version }}" '$0 ~ "^## " v {f=1; next} /^## /{f=0} f' CHANGELOG.md > notiz.md
gh release create "$GITHUB_REF_NAME" --title "Version ${{ steps.v.outputs.version }}" --notes-file notiz.md
env:
GH_TOKEN: ${{ github.token }}