Code Review
/
releng
/
global-jjb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
76eab87
)
Fix docker login for custom registry
29/5629/1
v0.5.3
author
Andrew Grimberg
<agrimberg@linuxfoundation.org>
Tue, 25 Jul 2017 20:30:23 +0000
(13:30 -0700)
committer
Andrew Grimberg
<agrimberg@linuxfoundation.org>
Tue, 25 Jul 2017 20:30:23 +0000
(13:30 -0700)
Custom registry detection fails to be detected if the corresponding
Jenkins environment variable is not properly referenced.
Change-Id: I618836ca4e9364045b01c7d710ac00f359a1e025
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
shell/docker-login.sh
patch
|
blob
|
history
diff --git
a/shell/docker-login.sh
b/shell/docker-login.sh
index
4b8233d
..
2c8a40b
100644
(file)
--- a/
shell/docker-login.sh
+++ b/
shell/docker-login.sh
@@
-59,7
+59,7
@@
do_login() {
docker login -u "$USER" -p "$PASS" -e "$2" "$1"
}
-if [ "${REGISTRY:-none}" != 'none' ]
+if [ "${
DOCKER_
REGISTRY:-none}" != 'none' ]
then
for PORT in $REGISTRY_PORTS
do