upload Docker image after running branch test
@@ -26,9 +26,9 @@ echo "Exit with status ${test_retval}"
if [[ "${pull_req}" == "" ]]; then
# Upload cache when testing a branch, even when test failed.
- echo "Uploading cache..."
- CACHE_DIR=/tmp/cupy_cache PULL_REQUEST="${pull_req}" "$(dirname ${0})/run.sh" "${TARGET}" cache_put | tee --append "${LOG_FILE}"
- echo "Cache upload exit with status ${PIPESTATUS[0]}"
+ echo "Uploading cache and Docker image..."
+ CACHE_DIR=/tmp/cupy_cache PULL_REQUEST="${pull_req}" "$(dirname ${0})/run.sh" "${TARGET}" cache_put push | tee --append "${LOG_FILE}"
+ echo "Upload exit with status ${PIPESTATUS[0]}"
fi
echo "Uploading the log..."
