diff --git a/action.yml b/action.yml index fb614aa..2b205a4 100644 --- a/action.yml +++ b/action.yml @@ -79,7 +79,7 @@ runs: - name: Login to DockerHub uses: docker/login-action@v3 - if: ${{ inputs.username != '' }} + if: ${{ inputs.password != '' }} with: registry: ${{ inputs.registry }} username: ${{ inputs.username }}