From 2b72da586257741337b2db1b664490f8f29cb825 Mon Sep 17 00:00:00 2001 From: seepine <93666053+seepine@users.noreply.github.com> Date: Mon, 21 Oct 2024 15:49:01 +0800 Subject: [PATCH] fix: fix docker login if password --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}