59 lines
718 B
YAML
59 lines
718 B
YAML
image: hosttoday/ht-docker-dbase
|
|
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
|
|
only:
|
|
- master
|
|
tags:
|
|
- docker
|
|
- lossless
|
|
- priv
|
|
|
|
test:
|
|
stage: test
|
|
script:
|
|
- npmci test docker
|
|
only:
|
|
- master
|
|
tags:
|
|
- docker
|
|
- lossless
|
|
- priv
|
|
|
|
release:
|
|
stage: release
|
|
script:
|
|
- npmci publish docker
|
|
only:
|
|
- master
|
|
tags:
|
|
- docker
|
|
- lossless
|
|
- priv
|
|
|
|
trigger:
|
|
stage: trigger
|
|
script:
|
|
- npmci trigger
|
|
only:
|
|
- master
|
|
tags:
|
|
- docker
|
|
- lossless
|
|
- priv
|