From 15cf218488b21349ca737ecebd80a42ce66c46e5 Mon Sep 17 00:00:00 2001 From: Nihar Babu D <42992083+niharbabu99@users.noreply.github.com> Date: Thu, 10 Mar 2022 18:17:46 +0530 Subject: [PATCH] fixing docker login issue due 2 logins we are performing during put operation Signed-off-by: NiharBabu --- assets/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/common.sh b/assets/common.sh index 5419f6a..905c3ba 100644 --- a/assets/common.sh +++ b/assets/common.sh @@ -117,7 +117,7 @@ log_in() { local username="$1" local password="$2" local registry="$3" - + docker logout if [ -n "${username}" ] && [ -n "${password}" ]; then echo "${password}" | docker login -u "${username}" --password-stdin ${registry} else