fix: Remove git url replacements in CI

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-03-31 12:55:33 -03:00
parent 19ae59f67d
commit 8be2fb4577

View file

@ -19,7 +19,16 @@ jobs:
steps:
- name: Disable SSL verification
run: git config --global http.sslVerify false
run: |
git config --global http.sslVerify false
git config --global --add safe.directory "*"
# Remove ALL git url replacements that redirect to internal IPs
git config --global --list | grep -E "^url\..*\.insteadof" | while read line; do
key=$(echo "$line" | cut -d= -f1)
git config --global --unset-all "$key" 2>/dev/null || true
done
# Ensure hosts entry for alm in CI container (required for DNS)
echo "10.157.134.241 alm.pragmatismo.com.br" >> /etc/hosts
- name: Setup Workspace
run: |