Skip to content

Commit

Permalink
check if DOCKER_USERNAME is empty as well in dockerhub desc publish
Browse files Browse the repository at this point in the history
Signed-off-by: June Clementine Strawberry <[email protected]>
  • Loading branch information
girlbossceo committed Jan 26, 2025
1 parent 6885664 commit 4b3c54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-hub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4b3c54b

Please sign in to comment.