From 4b3c54bbfa8340c4bab09a221f47afb0c6d04346 Mon Sep 17 00:00:00 2001
From: June Clementine Strawberry <strawberry@puppygock.gay>
Date: Sun, 26 Jan 2025 13:11:47 -0500
Subject: [PATCH] check if DOCKER_USERNAME is empty as well in dockerhub desc
 publish

Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
---
 .github/workflows/docker-hub-description.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/docker-hub-description.yml b/.github/workflows/docker-hub-description.yml
index 96b2d38b..b4f142db 100644
--- a/.github/workflows/docker-hub-description.yml
+++ b/.github/workflows/docker-hub-description.yml
@@ -13,7 +13,7 @@ on:
 jobs:
   dockerHubDescription:
     runs-on: ubuntu-latest
-    if: (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || (github.event.pull_request.draft != true)) && github.event.pull_request.user.login != 'renovate[bot]'
+    if: ${{ (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || (github.event.pull_request.draft != true)) && github.event.pull_request.user.login != 'renovate[bot]' && (vars.DOCKER_USERNAME != '') }}
     steps:
     - uses: actions/checkout@v4
       with: