Update .gitlab-ci.yml

This commit is contained in:
Phil Kunz 2016-06-05 22:06:13 +00:00
parent 42d0024ca4
commit 1ca5b9ddfc

View File

@ -1,23 +1,17 @@
image: docker:git
image: hosttoday/ht-docker-dbase
services:
- docker:dind
stages:
- release
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:
- docker login -u $DOCKERU -p $DOCKERP
- npmci login docker
release:
stage: release
script:
- docker version
- docker build -t hosttoday/ht-docker-dbase:latest .
- docker push hosttoday/ht-docker-dbase:latest
- npmci build docker
only:
- master
tags: