fix issue where docker images were being pushed without login (#10379)

This commit is contained in:
Omar Padron 2019-01-24 13:08:38 -05:00 committed by Todd Gamblin
parent 7d12ff6e16
commit 7d64994cbd

View File

@ -38,9 +38,7 @@ for config in share/spack/docker/config/* ; do
done
if [ "$TEST_SUITE" '=' "docker" -a \
"$TRAVIS_EVENT_TYPE" != "pull_request" -a \
ensure_docker_login ] ; then
"$TRAVIS_EVENT_TYPE" != "pull_request" ] && ensure_docker_login ; then
for config in share/spack/docker/config/* ; do
source "$config"
./share/spack/docker/push-image.sh