fix: Remove git url replacements in CI
This commit is contained in:
parent
19ae59f67d
commit
8be2fb4577
1 changed files with 10 additions and 1 deletions
|
|
@ -19,7 +19,16 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Disable SSL verification
|
- 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
|
- name: Setup Workspace
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue