Skip to content

Commit

Permalink
Merge pull request #343 from niharbabu99/patch-1
Browse files Browse the repository at this point in the history
fixing docker login issue due 2 logins we are performing during put
  • Loading branch information
Rui Yang authored Mar 29, 2022
2 parents 273da71 + 15cf218 commit 2745fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2745fcd

Please sign in to comment.