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 <noreply@paperclip.ing>
This commit is contained in:
Debbie (CartSnitch Engineering)
2026-03-18 23:53:50 +00:00
parent 0000297e4f
commit 58844b33fe
+1
View File
@@ -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 }}