Skip to content

Commit

Permalink
Remove incompatible docker login flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustavo Fernandes committed Jan 2, 2018
1 parent 096918b commit 1b41ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/ci_openshift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function build_images {
IMAGE="${REGISTRY_IP}:5000/myproject/$OPENSHIFT_COMPONENT_NAME"
login_as_developer
sudo docker build --no-cache --force-rm -t $IMAGE ../server
sudo docker login -u $(./oc whoami) -e [email protected] -p $(./oc whoami -t) ${REGISTRY_IP}:5000
sudo docker login -u $(./oc whoami) -p $(./oc whoami -t) ${REGISTRY_IP}:5000
sudo docker push ${IMAGE}
IMAGE_INSIDE_OPENSHIFT=$IMAGE
}
Expand Down

0 comments on commit 1b41ac8

Please sign in to comment.