forked from cartsnitch/cartsnitch
Remove Docker Hub auth and debug step
Confirmed secrets are length 0 from CI runners. Docker Hub auth cannot work until secrets are properly scoped to these repos. Refs: CAR-77 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -68,20 +68,6 @@ 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:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user