smartnginx/.gitlab-ci.yml
2018-08-10 23:44:31 +02:00

28 lines
386 B
YAML

image: hosttoday/ht-docker-node:npmci
stages:
- test
- release
before_script:
- "apt-get update && apt-get install nginx -y"
testSTABLE:
stage: test
script:
- npmci npm test stable
only:
- tags
tags:
- docker
- notpriv
release:
stage: release
environment: npmjs-com_registry
script:
- npmci npm publish
only:
- tags
tags:
- docker