diff --git a/.github/workflows/docker-hub-description.yml b/.github/workflows/docker-hub-description.yml index 96b2d38b6..b4f142db6 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: