From ec18930beffd0f4ad3da6115ddab2fd4ea16c7b6 Mon Sep 17 00:00:00 2001 From: qxa Date: Wed, 31 Dec 2025 14:16:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20entrypoint.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index b059e21..19169c9 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,6 +4,7 @@ docker -v if [ -n "$INPUT_USERNAME" ]; then # echo "$INPUT_PASSWORD" | docker login $INPUT_REGISTRY -u $INPUT_USERNAME --password-stdin + echo "docker login $INPUT_REGISTRY -u $INPUT_USERNAME -p $INPUT_PASSWORD" docker login $INPUT_REGISTRY -u $INPUT_USERNAME -p $INPUT_PASSWORD cat ~/.docker/config.json if [ ! -f ~/.docker/config.json ] || ! cat ~/.docker/config.json | grep -q "$INPUT_REGISTRY"; then