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

View File

@@ -79,7 +79,7 @@ runs:
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v3 uses: docker/login-action@v3
if: ${{ inputs.username != '' }} if: ${{ inputs.password != '' }}
with: with:
registry: ${{ inputs.registry }} registry: ${{ inputs.registry }}
username: ${{ inputs.username }} username: ${{ inputs.username }}