diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2efe76..9cdf68c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ # gitzone ci_docker -image: hosttoday/ht-docker-node:npmci +image: registry.gitlab.com/hosttoday/ht-docker-node:npmci cache: paths: @@ -7,6 +7,7 @@ cache: key: "$CI_BUILD_STAGE" before_script: + - npm install -g npmci - npmci npm prepare stages: @@ -35,7 +36,7 @@ release: - npmci docker login - npmci docker build - npmci docker test - - npmci docker push registry.gitlab.com + - npmci docker push only: - tags tags: diff --git a/npmextra.json b/npmextra.json index 0c6edc2..4dd4090 100644 --- a/npmextra.json +++ b/npmextra.json @@ -9,5 +9,10 @@ "license": "MIT" } }, - "npmci": {} + "npmci": { + "dockerRegistries": [ + "docker.io", + "registry.gitlab.com" + ] + } } \ No newline at end of file