forked from cartsnitch/cartsnitch
Debug: check Docker Hub secret accessibility from CI runners
Adding diagnostic step to verify secret length before login attempt. Refs: CAR-77 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -68,6 +68,14 @@ jobs:
|
||||
type=sha,prefix=sha-
|
||||
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
|
||||
|
||||
- name: Debug Docker Hub secrets
|
||||
run: |
|
||||
echo "DOCKERHUB_USERNAME length: ${#DOCKERHUB_USERNAME}"
|
||||
echo "DOCKERHUB_TOKEN length: ${#DOCKERHUB_TOKEN}"
|
||||
env:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user