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
|
done
|
||||||
|
|
||||||
if [ "$TEST_SUITE" '=' "docker" -a \
|
if [ "$TEST_SUITE" '=' "docker" -a \
|
||||||
"$TRAVIS_EVENT_TYPE" != "pull_request" -a \
|
"$TRAVIS_EVENT_TYPE" != "pull_request" ] && ensure_docker_login ; then
|
||||||
ensure_docker_login ] ; then
|
|
||||||
|
|
||||||
for config in share/spack/docker/config/* ; do
|
for config in share/spack/docker/config/* ; do
|
||||||
source "$config"
|
source "$config"
|
||||||
./share/spack/docker/push-image.sh
|
./share/spack/docker/push-image.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user