refactor(ci): Rename images to stack-* prefix for clarity
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Renamed all Docker images from generic names to stack-* prefix: - api → stack-api - web → stack-web - postgres → stack-postgres - openbao → stack-openbao - orchestrator → stack-orchestrator This prevents confusion with other repositories in the mosaic/ organization on git.mosaicstack.dev. Registry images: git.mosaicstack.dev/mosaic/stack-api git.mosaicstack.dev/mosaic/stack-web git.mosaicstack.dev/mosaic/stack-postgres git.mosaicstack.dev/mosaic/stack-openbao git.mosaicstack.dev/mosaic/stack-orchestrator Local images: stack-api:latest stack-web:latest stack-postgres:latest stack-openbao:latest stack-orchestrator:latest Updated files: - .woodpecker.yml (all build steps + package linking) - docker-compose.swarm.yml (all image references) - build-images.sh (local image names) - deploy-swarm.sh (image validation)
This commit is contained in:
@@ -9,19 +9,19 @@ echo ""
|
||||
|
||||
# Build postgres with pgvector
|
||||
echo "📦 Building postgres..."
|
||||
docker build -t mosaic-stack-postgres:latest -f docker/postgres/Dockerfile docker/postgres/
|
||||
docker build -t stack-postgres:latest -f docker/postgres/Dockerfile docker/postgres/
|
||||
|
||||
# Build openbao
|
||||
echo "📦 Building openbao..."
|
||||
docker build -t mosaic-stack-openbao:latest -f docker/openbao/Dockerfile docker/openbao/
|
||||
docker build -t stack-openbao:latest -f docker/openbao/Dockerfile docker/openbao/
|
||||
|
||||
# Build API
|
||||
echo "📦 Building API..."
|
||||
docker build -t mosaic-stack-api:latest -f apps/api/Dockerfile . --build-arg NODE_ENV=production
|
||||
docker build -t stack-api:latest -f apps/api/Dockerfile . --build-arg NODE_ENV=production
|
||||
|
||||
# Build orchestrator
|
||||
echo "📦 Building orchestrator..."
|
||||
docker build -t mosaic-stack-orchestrator:latest -f apps/orchestrator/Dockerfile .
|
||||
docker build -t stack-orchestrator:latest -f apps/orchestrator/Dockerfile .
|
||||
|
||||
# Build web (using NEXT_PUBLIC_API_URL from .env if available)
|
||||
echo "📦 Building web..."
|
||||
@@ -30,13 +30,13 @@ if [ -f .env ]; then
|
||||
else
|
||||
NEXT_PUBLIC_API_URL="https://api.mosaicstack.dev"
|
||||
fi
|
||||
docker build -t mosaic-stack-web:latest -f apps/web/Dockerfile . --build-arg NEXT_PUBLIC_API_URL="$NEXT_PUBLIC_API_URL"
|
||||
docker build -t stack-web:latest -f apps/web/Dockerfile . --build-arg NEXT_PUBLIC_API_URL="$NEXT_PUBLIC_API_URL"
|
||||
|
||||
echo ""
|
||||
echo "✅ All images built successfully!"
|
||||
echo ""
|
||||
echo "Built images:"
|
||||
docker images | grep mosaic-stack
|
||||
docker images | grep "^stack-"
|
||||
|
||||
echo ""
|
||||
echo "Next step:"
|
||||
|
||||
Reference in New Issue
Block a user