mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 08:13:20 +08:00
container_name added
This commit is contained in:
parent
568c9c52c2
commit
8342b33dae
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -71,6 +71,7 @@ jobs:
|
|||||||
projectName: aimingmed-ai
|
projectName: aimingmed-ai
|
||||||
image_repo: ghcr.io/$(echo $GITHUB_REPOSITORY | tr '[A-Z]' '[a-z]')
|
image_repo: ghcr.io/$(echo $GITHUB_REPOSITORY | tr '[A-Z]' '[a-z]')
|
||||||
testContainerName: tests-aimingmedai
|
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
|
# Pass test environment variables as JSON string
|
||||||
testEnvs: >
|
testEnvs: >
|
||||||
'[
|
'[
|
||||||
@ -79,6 +80,7 @@ jobs:
|
|||||||
"ENVIRONMENT=dev",
|
"ENVIRONMENT=dev",
|
||||||
"TESTING=1",
|
"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
|
# Pass test directories as JSON string
|
||||||
tests: >
|
tests: >
|
||||||
'[
|
'[
|
||||||
|
|||||||
1
.github/workflows/template_test.yml
vendored
1
.github/workflows/template_test.yml
vendored
@ -97,6 +97,7 @@ jobs:
|
|||||||
foreach ($img in $images) {
|
foreach ($img in $images) {
|
||||||
$serviceName = $img.name
|
$serviceName = $img.name
|
||||||
$svc = @{}
|
$svc = @{}
|
||||||
|
$svc.container_name = $serviceName
|
||||||
$svc.image = "${{ steps.tags.outputs.image_repo_path }}/$($serviceName):${{ env.TAG }}" # Use run_id tag
|
$svc.image = "${{ steps.tags.outputs.image_repo_path }}/$($serviceName):${{ env.TAG }}" # Use run_id tag
|
||||||
|
|
||||||
if ($img.depends_on) {
|
if ($img.depends_on) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user