smartnginx/.gitlab-ci.yml

27 lines
364 B
YAML
Raw Permalink Normal View History

2016-07-06 01:17:45 +00:00
image: hosttoday/ht-docker-node:npmts
stages:
- test
- release
2016-07-24 23:54:36 +00:00
before_script:
- "apt-get update && apt-get install nginx -y"
2016-07-06 01:17:45 +00:00
testSTABLE:
stage: test
script:
- npmci test stable
2016-07-24 23:57:51 +00:00
only:
- tags
2016-07-06 01:17:45 +00:00
tags:
- docker
release:
stage: release
2016-07-24 23:54:36 +00:00
environment: npmjs-com_registry
2016-07-06 01:17:45 +00:00
script:
- npmci publish
only:
- tags
tags:
- docker