feat: unified Poimen application with k8s + docker-compose infrastructure
ci / test (push) Failing after 2m4s
ci / test (push) Failing after 2m4s
This commit is contained in:
Executable
+34
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
REGISTRY="forgejo.riotpiao.com/rock"
|
||||
TAG="${1:-latest}"
|
||||
|
||||
echo "🔨 Building Poimen Application Images"
|
||||
echo " Registry: $REGISTRY"
|
||||
echo " Tag: $TAG"
|
||||
echo ""
|
||||
|
||||
# Build memory service
|
||||
echo "📦 Building poimen-memory..."
|
||||
docker build -t $REGISTRY/poimen-memory:$TAG ./memory
|
||||
docker push $REGISTRY/poimen-memory:$TAG
|
||||
echo "✓ Pushed poimen-memory:$TAG"
|
||||
|
||||
# Build workflows service
|
||||
echo "📦 Building poimen-workflows..."
|
||||
docker build -t $REGISTRY/poimen-workflows:$TAG ./workflows
|
||||
docker push $REGISTRY/poimen-workflows:$TAG
|
||||
echo "✓ Pushed poimen-workflows:$TAG"
|
||||
|
||||
# Build frontend service
|
||||
echo "📦 Building poimen-frontend..."
|
||||
docker build -t $REGISTRY/poimen-frontend:$TAG ./poimen-frontend
|
||||
docker push $REGISTRY/poimen-frontend:$TAG
|
||||
echo "✓ Pushed poimen-frontend:$TAG"
|
||||
|
||||
echo ""
|
||||
echo "✅ All images built and pushed"
|
||||
echo ""
|
||||
echo "To deploy:"
|
||||
echo " cd k8s && ./deploy.sh -a"
|
||||
Reference in New Issue
Block a user