Update .gitlab-ci.yml

This commit is contained in:
Phil Kunz 2016-06-05 05:07:38 +00:00
parent d27f9f11ae
commit 5d0fc29252

View File

@ -4,44 +4,20 @@ services:
stages: stages:
- build - build
- buildtags
- test - test
- release - release
- trigger - trigger
variables:
CONTAINER_TEST_IMAGE: registry.gitlab.com/hosttoday/ht-docker-node:$CI_BUILD_REF_NAME
CONTAINER_RELEASE_IMAGE: registry.gitlab.com/hosttoday/ht-docker-node:latest
before_script: before_script:
- npm uninstall -g npmci - npm uninstall -g npmci
- npm install -g npmci - npm install -g npmci
- npmci prepare docker - npmci prepare docker
buildBASE: build:
stage: build stage: build
script: script:
- docker build -t hosttoday/ht-docker-node:latest . - npmci build docker
- docker push hosttoday/ht-docker-node:latest
tags:
- lossless
buildTAGS:
stage: buildtags
script:
- docker build -t hosttoday/ht-docker-node:lts -f Dockerfile_lts .
- docker push hosttoday/ht-docker-node:lts
- docker build -t hosttoday/ht-docker-node:stable -f Dockerfile_stable .
- docker push hosttoday/ht-docker-node:stable
- docker build -t hosttoday/ht-docker-node:npmci -f Dockerfile_npmci .
- docker push hosttoday/ht-docker-node:npmci
- docker build -t hosttoday/ht-docker-node:npmts -f Dockerfile_npmts .
- docker push hosttoday/ht-docker-node:npmts
- docker build -t hosttoday/ht-docker-node:npmpage -f Dockerfile_npmpage .
- docker push hosttoday/ht-docker-node:npmpage
- docker build -t hosttoday/ht-docker-node:python3 -f Dockerfile_python3 .
- docker push hosttoday/ht-docker-node:python3
tags: tags:
- lossless - lossless