core/build_all.sh
Tiago Yamamoto a52bd4519d refactor: optimize Dockerfiles and documentation for core services
- Use Google Distroless images for all services (Go & Node.js).
- Standardize documentation with [PROJECT-NAME].md.
- Add .dockerignore and .gitignore to all projects.
- Remove docker-compose.yml in favor of docker run instructions.
- Fix Go version and dependency issues in observability, repo-integrations, and security-governance.
- Add Podman support (fully qualified image names).
- Update Dashboard to use Node.js static server for Distroless compatibility.
2025-12-30 13:22:34 -03:00

25 lines
589 B
Bash

#!/bin/bash
set -e
REGISTRY="rg.fr-par.scw.cloud/yumi"
SERVICES=(
"billing-finance-core"
"crm-core"
"identity-gateway"
"baas-control-plane"
"observability-core"
"repo-integrations-core"
"security-governance-core"
)
for SERVICE in "${SERVICES[@]}"; do
if [ -d "$SERVICE" ]; then
echo "Building $SERVICE..."
docker build -t "$REGISTRY/$SERVICE:latest" ./$SERVICE
echo "Pushing $SERVICE..."
docker push "$REGISTRY/$SERVICE:latest"
echo "Done $SERVICE"
else
echo "Directory $SERVICE not found!"
fi
done