packages service: fix docker build again (#12774)

CD is hard.
This commit is contained in:
Axel Huebl 2019-09-09 18:24:16 -07:00 committed by GitHub
parent 0d270e0d2a
commit 113365744e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ this_dir=$(cd $(dirname $0) && pwd)
SPACK_BIN="${this_dir}/../../../bin/spack"
# packages.spack.io service
${SPACK_BIN} list --format version_json > packages.json
${SPACK_BIN} list --format version_json > ${this_dir}/../packages/packages.json
./share/spack/packages/build-image.sh
if [ "$TEST_SUITE" '=' "docker" -a \
"$TRAVIS_EVENT_TYPE" != "pull_request" ] && ensure_docker_login ; then