fix: force Infisical DNS resolution in Gitea workflow by modifying the hosts file.
Some checks failed
List Infisical Secrets / list-secrets (push) Failing after 2s

This commit is contained in:
aydent
2026-01-24 23:25:31 +01:00
parent f98468df12
commit 72c384ab72

View File

@@ -9,6 +9,11 @@ jobs:
list-secrets: list-secrets:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Force DNS resolution
run: |
# Force resolution to public IP found via dig
echo "2.9.101.21 infisical.lemarechal.eu" | sudo tee -a /etc/hosts
- name: Fetch Secrets from Infisical - name: Fetch Secrets from Infisical
uses: https://github.com/Infisical/secrets-action@v1.0.7 uses: https://github.com/Infisical/secrets-action@v1.0.7
with: with: