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