Add debug step to log secret length in deploy-image.yml

This commit is contained in:
2026-06-30 09:07:08 +02:00
parent eb7bdb5870
commit 01c293efa4
+6
View File
@@ -40,6 +40,12 @@ jobs:
echo "image=${FULL_IMAGE}" >> "$GITHUB_OUTPUT"
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
- name: Debug Secret
run:
echo "Secret length: ${#TOKEN}"
env:
TOKEN: ${{ secrets.REGISTRY_TOKEN }}
- name: Log in to Gitea Container Registry
run: echo "${{ secrets.GITEA_TOKEN }}" | docker login "${{ steps.meta.outputs.registry }}" -u "${{ steps.meta.outputs.actor }}" --password-stdin