Update .gitlab-ci.yml
This commit is contained in:
parent
6097ce7cac
commit
9b0257a46e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user