mirror of
https://github.com/seepine/action-docker-build-push.git
synced 2025-01-18 14:56:36 +08:00
fix: fix docker login if password
This commit is contained in:
parent
04f0a2ab06
commit
2b72da5862
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user