We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90d93e7 commit 579dd97Copy full SHA for 579dd97
1 file changed
.github/workflows/agentex-tutorials-test.yml
@@ -29,9 +29,13 @@ jobs:
29
cd scale-agentex/agentex
30
echo "🔧 Configuring AgentEx container for GitHub Actions networking..."
31
32
+ # Install yq for YAML manipulation
33
+ sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
34
+ sudo chmod +x /usr/local/bin/yq
35
+
36
# Add extra_hosts to agentex service to make host.docker.internal work
37
# This allows the AgentEx container to reach the GitHub runner host
- sed -i '/container_name: agentex/a\ extra_hosts:\n - "host.docker.internal:host-gateway"' docker-compose.yml
38
+ yq eval '.services.agentex.extra_hosts = ["host.docker.internal:host-gateway"]' -i docker-compose.yml
39
40
echo "✅ Added extra_hosts configuration to agentex service"
41
echo "🔍 Updated agentex service config:"
0 commit comments