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 {