From 7085ecc4e2537d8e41839818591e8d4ceff533a0 Mon Sep 17 00:00:00 2001 From: Timothy Kim Date: Tue, 10 Mar 2026 23:44:36 -0400 Subject: [PATCH] more debug --- .gitea/workflows/build.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 92685f2..fec65a5 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -13,18 +13,17 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Debug secret + - name: Debug network run: | - if [ -z "$TOKEN" ]; then - echo "SECRET IS EMPTY" - else - echo "SECRET IS SET (length: ${#TOKEN})" - fi - env: - TOKEN: ${{ secrets.REGISTRY_TOKEN }} + echo "=== DNS resolve ===" + nslookup git.timothykim.net || echo "nslookup failed" + echo "=== Curl registry ===" + curl -vk https://git.timothykim.net/v2/ 2>&1 | head -30 + echo "=== Ping ===" + ping -c 2 git.timothykim.net || echo "ping failed" - name: Login to Gitea Registry - run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.timothykim.net -u timothykim --password-stdin + run: echo "${{ secrets.GITEA_TOKEN }}" | docker login git.timothykim.net -u ${{ gitea.actor }} --password-stdin - name: Build and Push uses: docker/build-push-action@v5