From 763893c5d923e52156b886d2c23467de8d346da8 Mon Sep 17 00:00:00 2001 From: Le Serjant Date: Mon, 16 Mar 2026 13:25:16 +0000 Subject: [PATCH] Debug: check Www-Authenticate header from registry Need to see what token endpoint/service buildah is being directed to. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/deploy.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 5fbaf77..e3255b9 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -30,14 +30,8 @@ jobs: CREDS="${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASSWORD }}" - echo "=== debug: test v2 endpoint ===" - curl -sk https://git.kimchi/v2/ || true - echo "" - echo "=== debug: test v2 auth ===" - curl -sk -u "$CREDS" https://git.kimchi/v2/ || true - echo "" - echo "=== debug: test token endpoint ===" - curl -sk -u "$CREDS" "https://git.kimchi/v2/token?scope=repository:tas/major_tom:push,pull&service=container_registry" || true + echo "=== debug: Www-Authenticate header ===" + curl -sk -I https://git.kimchi/v2/ | grep -i www-authenticate || true echo "" echo "=== buildah push tag ==="