fix issue where docker images were being pushed without login (#10379)
This commit is contained in:
parent
7d12ff6e16
commit
7d64994cbd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user