feat: add dashboard service to Docker build and push workflow

This commit is contained in:
asepharyana
2026-07-22 18:12:44 +07:00
parent 5d5a0f48b5
commit 4ef4f615c1
5 changed files with 34 additions and 14 deletions
+3
View File
@@ -254,9 +254,11 @@ jobs:
declare -A SERVICES
SERVICES["scraper-api"]="scraper.yml"
SERVICES["dashboard"]="observability.yml"
declare -A PATHS
PATHS["scraper-api"]="apps/scraper"
PATHS["dashboard"]="infra/dashboard"
# Use git config for possible commits
git config --local user.email "action@github.com"
@@ -265,6 +267,7 @@ jobs:
for id in "${!SERVICES[@]}"; do
SHOULD_HAVE_RUN=false
if [ "${{ needs.changes.outputs['scraper-api'] }}" == "true" ] && [ "$id" == "scraper-api" ]; then SHOULD_HAVE_RUN=true; fi
if [ "${{ needs.changes.outputs['dashboard'] }}" == "true" ] && [ "$id" == "dashboard" ]; then SHOULD_HAVE_RUN=true; fi
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then SHOULD_HAVE_RUN=true; fi