Skip to content

Commit 2745fcd

Browse files
author
Rui Yang
authored
Merge pull request #343 from niharbabu99/patch-1
fixing docker login issue due 2 logins we are performing during put
2 parents 273da71 + 15cf218 commit 2745fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ log_in() {
117117
local username="$1"
118118
local password="$2"
119119
local registry="$3"
120-
120+
docker logout
121121
if [ -n "${username}" ] && [ -n "${password}" ]; then
122122
echo "${password}" | docker login -u "${username}" --password-stdin ${registry}
123123
else

0 commit comments

Comments
 (0)