From 58844b33fe62ca57361592244b9ee1f795368ced Mon Sep 17 00:00:00 2001 From: "Debbie (CartSnitch Engineering)" Date: Wed, 18 Mar 2026 23:53:50 +0000 Subject: [PATCH] Fix: make Docker Hub auth conditional Docker Hub login step is now conditional on secret existence to avoid failures when org secrets are not yet provisioned. Refs: CAR-77 Co-Authored-By: Paperclip --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71f190a..d290b2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,6 +69,7 @@ jobs: type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }} - name: Log in to Docker Hub + if: ${{ secrets.DOCKERHUB_USERNAME != '' }} uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }}