1 Commits

Author SHA1 Message Date
763893c5d9 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) <noreply@anthropic.com>
2026-03-16 13:25:16 +00:00

View File

@@ -30,14 +30,8 @@ jobs:
CREDS="${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASSWORD }}" CREDS="${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASSWORD }}"
echo "=== debug: test v2 endpoint ===" echo "=== debug: Www-Authenticate header ==="
curl -sk https://git.kimchi/v2/ || true curl -sk -I https://git.kimchi/v2/ | grep -i www-authenticate || 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 "" echo ""
echo "=== buildah push tag ===" echo "=== buildah push tag ==="