Skip to content

Commit dbf5366

Browse files
committed
fix: outside port
1 parent cab04c2 commit dbf5366

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/backwards_compatibility.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ jobs:
118118
$tagName = $env:IMAGE_TAG
119119
$fullImage = "${imageName}:${tagName}"
120120
Write-Host "Running Docker image: $fullImage"
121-
docker run --detach --name $env:GEO_CONT_NAME -e LICENSE_SERVER=$env:ANSRV_GEO_LICENSE_SERVER $env:SERVER_ENDPOINT -p $env:ANSRV_GEO_PORT:50051 $fullImage $env:TRANSPORT_MODE_SELECTION
121+
$outsidePort = $env:ANSRV_GEO_PORT
122+
docker run --detach --name $env:GEO_CONT_NAME -e LICENSE_SERVER=$env:ANSRV_GEO_LICENSE_SERVER $env:SERVER_ENDPOINT -p ${outsidePort}:50051 $fullImage $env:TRANSPORT_MODE_SELECTION
122123
Start-Sleep -Seconds 10
123124
python -c "from ansys.geometry.core.connection.validate import validate; validate()"
124125

0 commit comments

Comments
 (0)