Update .gitlab-ci.yml

This commit is contained in:
Phil Kunz 2016-06-07 14:10:08 +00:00
parent 1ca5b9ddfc
commit dda310b02f

View File

@ -3,17 +3,41 @@ services:
- docker:dind - docker:dind
stages: stages:
- build
- test
- release - release
before_script: before_script:
- npm uninstall -g docker
- npm install -g docker
- npmci login docker - npmci login docker
release: build:
stage: release stage: build
script: script:
- npmci build docker - npmci build docker
only: only:
- master - master
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: tags:
- docker - docker
- lossless - lossless