more debug
Build and Push Docker Image / build (push) Failing after 4s
Test Runner / test (push) Successful in 1s

This commit is contained in:
2026-03-10 23:46:39 -04:00
parent b919ba3884
commit f95b6b7806
+14 -1
View File
@@ -13,8 +13,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Debug registry auth
run: |
echo "=== Token length ==="
echo "${#TOKEN}"
echo "=== Curl with basic auth ==="
curl -vsk -u "${{ gitea.actor }}:${TOKEN}" https://git.timothykim.net/v2/ 2>&1
echo ""
echo "=== Curl with REGISTRY_TOKEN ==="
curl -vsk -u "${{ gitea.actor }}:${REG_TOKEN}" https://git.timothykim.net/v2/ 2>&1
env:
TOKEN: ${{ gitea.token }}
REG_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
- name: Login to Gitea Registry
run: echo "${{ gitea.token }}" | docker login git.timothykim.net -u ${{ gitea.actor }} --password-stdin
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.timothykim.net -u ${{ gitea.actor }} --password-stdin
- name: Build and Push
uses: docker/build-push-action@v5