From 5c438a3476827511e83b54b80cff9b5ba21dad0b Mon Sep 17 00:00:00 2001 From: Diana Barsan Date: Wed, 12 Jun 2024 11:45:17 +0300 Subject: [PATCH] exit with 1 on failed push --- test/publish/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/publish/index.js b/test/publish/index.js index 861d6aa..f2a570c 100644 --- a/test/publish/index.js +++ b/test/publish/index.js @@ -81,5 +81,6 @@ const dockerCommand = (args) => { await dockerCommand(dockerBuildParams); } catch (err) { console.error('Error while building or publishing docker image', err); + process.exit(1); } })();