#!/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