From f7822786dfadbfe60d5ea3736014773778d049ea Mon Sep 17 00:00:00 2001 From: nocci Date: Thu, 8 Jan 2026 13:11:59 +0000 Subject: [PATCH] test --- .forgejo/workflows/build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 2080e2d..d17926e 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -95,10 +95,17 @@ jobs: needs: [lint, sonar] runs-on: self-hosted steps: + - name: Network Debugging + run: | + cat /etc/resolv.conf + cat /etc/hosts + ping -c 4 server + getent hosts server + - name: Manual Git Checkout run: | git init - git remote add origin ${{ github.server_url }}/${{ github.repository }}.git + git remote add origin http://$(getent hosts server | awk '{ print $1 }')/${{ github.repository }}.git git fetch --depth 1 origin ${{ github.ref }} git checkout FETCH_HEAD @@ -107,7 +114,6 @@ jobs: - name: Login to registry run: echo "${{ secrets.REG_TOKEN }}" | docker login "${{ secrets.REGISTRY }}" -u "${{ secrets.REG_USER }}" --password-stdin - - name: Build image run: | docker buildx build --load \