even more debug
This commit is contained in:
@@ -14,17 +14,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Debug registry auth
|
- name: Debug registry auth
|
||||||
run: |
|
run: echo "${{ secrets.REGISTRY_TOKEN }}"
|
||||||
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
|
- name: Login to Gitea Registry
|
||||||
run: echo "${{ secrets.REGISTRY_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
|
||||||
|
|||||||
Reference in New Issue
Block a user