docker/.gitlab-ci.yml

53 lines
642 B
YAML

image: hosttoday/ht-docker-dbase
services:
- docker:dind
stages:
- build
- test
- release
- trigger
before_script:
- npmci prepare docker-gitlab
build:
stage: build
script:
- npm install
- npm test
- npmci build docker
tags:
- lossless
- priv
test:
stage: test
script:
- npmci test docker
tags:
- lossless
- priv
release:
image: hosttoday/ht-docker-node:npmts
stage: release
script:
- npmci publish npm
only:
- tags
tags:
- lossless
- priv
trigger:
stage: trigger
script:
- npmci trigger
only:
- master
tags:
- lossless
- priv