ht-docker-node/.gitlab-ci.yml
2017-02-18 23:01:07 +01:00

55 lines
653 B
YAML

image: hosttoday/ht-docker-dbase:latest
services:
- docker:dind
stages:
- build
- test
- release
- trigger
before_script:
- npm uninstall -g npmci
- npm install -g npmci
- npmci prepare docker
build:
stage: build
script:
- npmci build docker
tags:
- lossless
- priv
test:
stage: test
script:
- npmci test docker
tags:
- lossless
- priv
release:
stage: release
script:
- npmci publish docker
only:
- tags
- triggers
tags:
- lossless
- priv
trigger:
stage: trigger
script:
- npmci trigger
only:
- tags
- triggers
tags:
- lossless
- priv