Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
9e1d21931e | |||
81ef1f1fd9 | |||
9fa5bee1ee | |||
36099654b4 | |||
99bb05ee51 | |||
a020d12a2e | |||
f393560c78 | |||
258de44568 | |||
02b846642e | |||
7f05f5da84 |
@ -1,5 +1,5 @@
|
||||
# gitzone ci_docker
|
||||
image: hosttoday/ht-docker-node:npmci
|
||||
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
||||
|
||||
cache:
|
||||
paths:
|
||||
@ -7,6 +7,7 @@ cache:
|
||||
key: "$CI_BUILD_STAGE"
|
||||
|
||||
before_script:
|
||||
- npm install -g @shipzone/npmci
|
||||
- npmci npm prepare
|
||||
|
||||
stages:
|
||||
@ -35,7 +36,7 @@ release:
|
||||
- npmci docker login
|
||||
- npmci docker build
|
||||
- npmci docker test
|
||||
- npmci docker push registry.gitlab.com
|
||||
- npmci docker push
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
|
@ -3,7 +3,7 @@ LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
WORKDIR /workspace
|
||||
# important environment variables
|
||||
ENV NODE_VERSION_LTS="10.13.0" NODE_VERSION_STABLE="11.2.0" NVM_DIR="/usr/local/nvm"
|
||||
ENV NODE_VERSION_LTS="10.16.0" NODE_VERSION_STABLE="12.4.0" NVM_DIR="/usr/local/nvm"
|
||||
|
||||
# Set debconf to run non-interactively and install packages
|
||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
|
||||
|
@ -9,5 +9,10 @@
|
||||
"license": "MIT"
|
||||
}
|
||||
},
|
||||
"npmci": {}
|
||||
"npmci": {
|
||||
"dockerRegistries": [
|
||||
"docker.io",
|
||||
"registry.gitlab.com"
|
||||
]
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ht-docker-node",
|
||||
"version": "5.0.21",
|
||||
"version": "5.0.26",
|
||||
"description": "docker image with nodejs and shipzone.io support",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -2,4 +2,4 @@
|
||||
npm -v
|
||||
node -v
|
||||
npm install -g @gitzone/tsrun
|
||||
gitzone -v
|
||||
# tsrun -v
|
Reference in New Issue
Block a user