diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ab9710e..7a191a2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,13 +13,13 @@ stages: before_script: - npm config set unsafe-perm true - yarn global add npmci - - npmci prepare docker + - npmci docker login build: stage: build script: - npmci docker build - - npmci docker push test + - npmci docker push registry.gitlab.com test only: - master tags: @@ -30,7 +30,7 @@ build: test: stage: test script: - - npmci docker pull test + - npmci docker pull registry.gitlab.com test - npmci docker test only: - master @@ -42,7 +42,8 @@ test: release: stage: release script: - - npmci docker pull test + - npmci docker pull registry.gitlab.com test + - npmci docker push docker.io - npmci docker push registry.gitlab.com only: - master