Skip to content

Commit 90d93e7

Browse files
author
Roxanne Farhad
committed
fix comms
1 parent cac62f8 commit 90d93e7

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/agentex-tutorials-test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@ jobs:
2424
repository: scaleapi/scale-agentex
2525
path: scale-agentex
2626

27+
- name: Configure Docker Compose for host networking
28+
run: |
29+
cd scale-agentex/agentex
30+
echo "🔧 Configuring AgentEx container for GitHub Actions networking..."
31+
32+
# Add extra_hosts to agentex service to make host.docker.internal work
33+
# This allows the AgentEx container to reach the GitHub runner host
34+
sed -i '/container_name: agentex/a\ extra_hosts:\n - "host.docker.internal:host-gateway"' docker-compose.yml
35+
36+
echo "✅ Added extra_hosts configuration to agentex service"
37+
echo "🔍 Updated agentex service config:"
38+
grep -A 10 "container_name: agentex" docker-compose.yml || echo "Could not find agentex service"
39+
2740
- name: Navigate to scale-agentex repo
2841
run: |
2942
cd scale-agentex/agentex

0 commit comments

Comments
 (0)