check if DOCKER_USERNAME is empty as well in dockerhub desc publish

Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
This commit is contained in:
June Clementine Strawberry 2025-01-26 13:11:47 -05:00
parent 68856645ee
commit 4b3c54bbfa
No known key found for this signature in database

View file

@ -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: