From dab18bb9e6c7814323c106380a29ed6e7505fa5f Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 25 Apr 2026 20:10:36 +0200 Subject: [PATCH] Debug pipeline --- .gitea/workflows/build.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2b6904e..e1a14f1 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -61,10 +61,19 @@ jobs: fi echo "version=${next}" >> "$GITHUB_OUTPUT" - - name: Debug DNS + - name: Confirm auth headers + env: + REG_USER: ${{ secrets.REGISTRY_USERNAME }} + REG_PASS: ${{ secrets.REGISTRY_PASSWORD }} run: | - getent hosts registry.c5ai.ch - curl -v https://registry.c5ai.ch/v2/ 2>&1 | grep -E "Connected to|HTTP/|server" + set -x + # Show what docker config docker is actually reading + echo "DOCKER_CONFIG=$DOCKER_CONFIG" + ls -la ${DOCKER_CONFIG:-$HOME/.docker}/ + cat ${DOCKER_CONFIG:-$HOME/.docker}/config.json + + # Use docker --debug to see actual HTTP requests + docker --log-level=debug push registry.c5ai.ch/pieced/pieced-portal:0.1.5 2>&1 | grep -iE "auth|401|header" | head -30 - name: Build and push image # Combine login + build + push in a single run block. act_runner can