File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 2929 cd scale-agentex/agentex
3030 echo "🔧 Configuring AgentEx container for GitHub Actions networking..."
3131
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+
3236 # Add extra_hosts to agentex service to make host.docker.internal work
3337 # 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
38+ yq eval '.services. agentex. extra_hosts = [ "host.docker.internal:host-gateway"]' -i docker-compose.yml
3539
3640 echo "✅ Added extra_hosts configuration to agentex service"
3741 echo "🔍 Updated agentex service config:"
You can’t perform that action at this time.
0 commit comments