Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
9c48d3e7ec | |||
7945303e9f | |||
2d11efdcf9 | |||
5100b6b3b1 | |||
a8da4d3fd4 | |||
2fd11c91a0 | |||
46a0413e94 | |||
a0c9a52ec7 | |||
71d9d06ddd | |||
2e23e31bec | |||
82bb2ccc5b | |||
a5f93beea5 | |||
6dd5406573 | |||
22c8f8dbf8 | |||
d8b582a18b |
@ -14,12 +14,14 @@ stages:
|
||||
- pages
|
||||
|
||||
before_script:
|
||||
- npmci prepare docker
|
||||
- yarn global add npmci
|
||||
- npmci docker login
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- npmci build docker
|
||||
- npmci docker build
|
||||
- npmci docker push registry.gitlab.com test
|
||||
tags:
|
||||
- lossless
|
||||
- priv
|
||||
@ -28,7 +30,8 @@ build:
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- npmci test docker
|
||||
- npmci docker pull registry.gitlab.com test
|
||||
- npmci docker test
|
||||
tags:
|
||||
- lossless
|
||||
- priv
|
||||
@ -36,7 +39,9 @@ test:
|
||||
release:
|
||||
stage: release
|
||||
script:
|
||||
- npmci publish docker
|
||||
- npmci docker pull registry.gitlab.com test
|
||||
- npmci docker push docker.io
|
||||
- npmci docker push registry.gitlab.com
|
||||
only:
|
||||
- tags
|
||||
- triggers
|
||||
|
@ -14,11 +14,14 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
curl \
|
||||
g++ \
|
||||
gcc \
|
||||
git \
|
||||
ssh \
|
||||
make \
|
||||
openssl \
|
||||
python \
|
||||
rsync \
|
||||
ssh \
|
||||
wget \
|
||||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||
|
3
Dockerfile_npmcinanobox
Normal file
3
Dockerfile_npmcinanobox
Normal file
@ -0,0 +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 nanobox config set ci-mode true
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ht-docker-node",
|
||||
"version": "4.3.23",
|
||||
"version": "4.3.29",
|
||||
"description": "docker image with nodejs with shipzone.io support",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Reference in New Issue
Block a user