mirror of
https://github.com/seepine/action-docker-build-push.git
synced 2025-09-01 20:19:07 +08:00
fix: fix docker login if password
This commit is contained in:
@@ -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 }}
|
||||||
|
Reference in New Issue
Block a user