Compare commits

...

2 Commits

Author SHA1 Message Date
48bf7e135d 4.3.30 2017-09-13 21:59:33 +02:00
4b0851c8a1 fix ci 2017-09-13 21:59:30 +02:00
3 changed files with 21 additions and 2 deletions

View File

@ -7,6 +7,7 @@ variables:
stages:
- buildAndTest
- build
- test
- release
@ -17,11 +18,26 @@ before_script:
- yarn global add npmci
- npmci docker login
buildAndTest:
stage: buildAndTest
script:
- npmci docker build
- npmci docker test
only:
refs:
- master
tags:
- lossless
- priv
build:
stage: build
script:
- npmci docker build
- npmci docker push registry.gitlab.com test
only:
- tags
- triggers
tags:
- lossless
- priv
@ -32,6 +48,9 @@ test:
script:
- npmci docker pull registry.gitlab.com test
- npmci docker test
only:
- tags
- triggers
tags:
- lossless
- priv

View File

@ -1,3 +1,3 @@
FROM hosttoday/ht-docker-node:npmci
RUN sudo bash -c "$(curl -fsSL https://s3.amazonaws.com/tools.nanobox.io/bootstrap/ci.sh)"
RUN bash -c "$(curl -fsSL https://s3.amazonaws.com/tools.nanobox.io/bootstrap/ci.sh)"
RUN nanobox config set ci-mode true

View File

@ -1,6 +1,6 @@
{
"name": "ht-docker-node",
"version": "4.3.29",
"version": "4.3.30",
"description": "docker image with nodejs with shipzone.io support",
"main": "index.js",
"scripts": {