Update .gitlab-ci.yml
This commit is contained in:
parent
6097ce7cac
commit
9b0257a46e
@ -13,13 +13,13 @@ stages:
|
|||||||
before_script:
|
before_script:
|
||||||
- npm config set unsafe-perm true
|
- npm config set unsafe-perm true
|
||||||
- yarn global add npmci
|
- yarn global add npmci
|
||||||
- npmci prepare docker
|
- npmci docker login
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- npmci docker build
|
- npmci docker build
|
||||||
- npmci docker push test
|
- npmci docker push registry.gitlab.com test
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
tags:
|
tags:
|
||||||
@ -30,7 +30,7 @@ build:
|
|||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npmci docker pull test
|
- npmci docker pull registry.gitlab.com test
|
||||||
- npmci docker test
|
- npmci docker test
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
@ -42,7 +42,8 @@ test:
|
|||||||
release:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
script:
|
script:
|
||||||
- npmci docker pull test
|
- npmci docker pull registry.gitlab.com test
|
||||||
|
- npmci docker push docker.io
|
||||||
- npmci docker push registry.gitlab.com
|
- npmci docker push registry.gitlab.com
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user