From 8342b33dae6afc41aaede36446bccf33b1906c70 Mon Sep 17 00:00:00 2001 From: leehk Date: Thu, 17 Apr 2025 17:24:02 +0800 Subject: [PATCH] container_name added --- .github/workflows/build.yml | 2 ++ .github/workflows/template_test.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce6a484..9f6f2e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,6 +71,7 @@ jobs: projectName: aimingmed-ai image_repo: ghcr.io/$(echo $GITHUB_REPOSITORY | tr '[A-Z]' '[a-z]') testContainerName: tests-aimingmedai + # Todos: This part is not working the testEnvs is not being taken up corrrectly by Run Tests # Pass test environment variables as JSON string testEnvs: > '[ @@ -79,6 +80,7 @@ jobs: "ENVIRONMENT=dev", "TESTING=1", ]' + # Todos: This part is not working the testEnvs is not being taken up corrrectly by Run Tests # Pass test directories as JSON string tests: > '[ diff --git a/.github/workflows/template_test.yml b/.github/workflows/template_test.yml index dd23217..c19f87c 100644 --- a/.github/workflows/template_test.yml +++ b/.github/workflows/template_test.yml @@ -97,6 +97,7 @@ jobs: foreach ($img in $images) { $serviceName = $img.name $svc = @{} + $svc.container_name = $serviceName $svc.image = "${{ steps.tags.outputs.image_repo_path }}/$($serviceName):${{ env.TAG }}" # Use run_id tag if ($img.depends_on) {