fix: fix docker login if password

This commit is contained in:
seepine 2024-10-21 15:49:01 +08:00 committed by GitHub
parent 04f0a2ab06
commit 2b72da5862
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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