Fixing release pipeline

This commit is contained in:
Mistral Vibe
2026-04-10 11:31:29 +02:00
parent 411414b9c1
commit 9f552b47fd
8 changed files with 302 additions and 0 deletions

29
scripts/release.sh Executable file
View File

@@ -0,0 +1,29 @@
#!/bin/bash
set -euo pipefail
echo "=== RehearsalHub Container Release ==="
echo
# Get current git tag
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "latest")
echo "Releasing version: $TAG"
echo
# Build containers
echo "Step 1/2: Building containers..."
bash scripts/build-containers.sh
echo
# Upload containers
echo "Step 2/2: Uploading containers to Gitea..."
bash scripts/upload-containers-simple.sh
echo
echo "✅ Release complete!"
echo "All containers available at: git.sschuhmann.de/sschuhmann/rehearsalhub:$TAG"
echo
echo "Services:"
echo " - api: git.sschuhmann.de/sschuhmann/rehearsalhub/api:$TAG"
echo " - web: git.sschuhmann.de/sschuhmann/rehearsalhub/web:$TAG"
echo " - worker: git.sschuhmann.de/sschuhmann/rehearsalhub/worker:$TAG"
echo " - watcher: git.sschuhmann.de/sschuhmann/rehearsalhub/watcher:$TAG"