Merge pull request #348 from dmunozv04/update-ci-2

Only login to dockerhub if username is provided via secret
This commit is contained in:
David
2025-08-30 13:57:47 -04:00
committed by GitHub

View File

@@ -53,7 +53,7 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && env.DOCKERHUB_USERNAME != ''
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}