Update .gitlab-ci.yml

This commit is contained in:
Phil Kunz 2017-08-28 01:17:02 +00:00
parent 6097ce7cac
commit 9b0257a46e

View File

@ -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