From 7d64994cbd4e0f45cea0106bfae4032007f4ad4d Mon Sep 17 00:00:00 2001 From: Omar Padron Date: Thu, 24 Jan 2019 13:08:38 -0500 Subject: fix issue where docker images were being pushed without login (#10379) --- share/spack/qa/run-docker-tests | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'share') diff --git a/share/spack/qa/run-docker-tests b/share/spack/qa/run-docker-tests index 398889be26..8613c7e728 100755 --- a/share/spack/qa/run-docker-tests +++ b/share/spack/qa/run-docker-tests @@ -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 -- cgit v1.2.3-70-g09d2