From 72c384ab726b5870b33b65a4824e3fa3f4973c62 Mon Sep 17 00:00:00 2001 From: aydent Date: Sat, 24 Jan 2026 23:25:31 +0100 Subject: [PATCH] fix: force Infisical DNS resolution in Gitea workflow by modifying the hosts file. --- .gitea/workflows/infisical-secrets.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/infisical-secrets.yml b/.gitea/workflows/infisical-secrets.yml index c004f3a..34899ba 100644 --- a/.gitea/workflows/infisical-secrets.yml +++ b/.gitea/workflows/infisical-secrets.yml @@ -9,6 +9,11 @@ jobs: list-secrets: runs-on: ubuntu-latest 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 uses: https://github.com/Infisical/secrets-action@v1.0.7 with: