Update .gitlab-ci.yml

This commit is contained in:
Phil Kunz 2016-06-02 15:11:05 +00:00
parent a5e167c36d
commit 5ab4dc6072

View File

@ -3,7 +3,6 @@ services:
- docker:dind - docker:dind
stages: stages:
- test
- release - release
variables: variables:
@ -13,18 +12,6 @@ variables:
before_script: before_script:
- docker login -u $DOCKERU -p $DOCKERP - docker login -u $DOCKERU -p $DOCKERP
test:
stage: test
script:
- docker version
- docker build -t $CONTAINER_TEST_IMAGE .
- echo $CI_PROJECT_DIR
- docker run $CONTAINER_TEST_IMAGE $CI_PROJECT_DIR/test.sh
only:
- master
tags:
- dockerbuild
release: release:
stage: release stage: release
script: script: