From 74cdd80b5197bd66a2cbc65d37473b3a62af169e Mon Sep 17 00:00:00 2001 From: Paulo Castro Date: Wed, 29 Apr 2020 12:13:19 +0100 Subject: [PATCH] balena deploy: Fix "TypeError: images.push is not iterable" Change-type: patch --- lib/utils/compose.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/utils/compose.js b/lib/utils/compose.js index 7cf23134..67c996bc 100644 --- a/lib/utils/compose.js +++ b/lib/utils/compose.js @@ -530,10 +530,13 @@ const getPreviousRepos = (sdk, docker, logger, appID) => return registry.imageName; }); }); + } else { + return []; } }) .catch(e => { logger.logDebug(`Failed to access previously pushed image repo: ${e}`); + return []; }); const authorizePush = function(