Files
dickendock/backend/build.sh

17 lines
428 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/sh
# Dicken Dock Image bauen und in Gitea-Registry pushen
# Ausführen auf dem Server: sh build.sh
REGISTRY="192.168.1.26:3000"
USER="admin"
IMAGE="$REGISTRY/$USER/dickendock:latest"
REPO="http://$REGISTRY/$USER/dickendock.git"
echo "🔨 Baue Image direkt aus Gitea..."
docker build "$REPO" -t "$IMAGE"
echo "📤 Pushe in Registry..."
docker push "$IMAGE"
echo "✅ Fertig starte mit: docker compose up -d"