From a29e04f9e36b75abf460a13168677c56bd800f4d Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 5 Jun 2016 09:33:51 +0200 Subject: [PATCH] fix gitlab.yml --- .gitlab-ci.yml | 2 +- ts/npmci.build.docker.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d05ec3e..bd81a1e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: hosttoday/ht-docker-node:lts +image: hosttoday/ht-docker-node:npmci stages: - release diff --git a/ts/npmci.build.docker.ts b/ts/npmci.build.docker.ts index c1194c1..05bb3e1 100644 --- a/ts/npmci.build.docker.ts +++ b/ts/npmci.build.docker.ts @@ -44,7 +44,7 @@ let sortDockerfiles = function(){ let aIndex = notYetBuiltImages.indexOf(a.cleanTag); if(aIndex != -1){notYetBuiltImages.splice(aIndex,1)} console.log(notYetBuiltImages); - if(notYetBuiltImages.indexOf(b.cleanTag) != -1){ + if(notYetBuiltImages.indexOf(b.baseImage) != -1){ redoSort = true; return -1; } else {