Update .gitlab-ci.yml
This commit is contained in:
parent
1ca5b9ddfc
commit
dda310b02f
@ -3,13 +3,17 @@ services:
|
||||
- docker:dind
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- release
|
||||
|
||||
before_script:
|
||||
- npm uninstall -g docker
|
||||
- npm install -g docker
|
||||
- npmci login docker
|
||||
|
||||
release:
|
||||
stage: release
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- npmci build docker
|
||||
only:
|
||||
@ -17,3 +21,23 @@ release:
|
||||
tags:
|
||||
- docker
|
||||
- lossless
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- npmci test docker
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- docker
|
||||
- lossless
|
||||
|
||||
release:
|
||||
stage: release
|
||||
script:
|
||||
- npmci publish docker
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- docker
|
||||
- lossless
|
Loading…
Reference in New Issue
Block a user