Skip to content

Commit

Permalink
Add CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
akalipetis committed May 23, 2017
1 parent 8b34b87 commit 112f575
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
image: docker:git
services:
- docker:dind

stages:
- build

variables:
CONTAINER_TEST_IMAGE: gitlab.omilia.com:1986/nlu-studio/compose:$CI_COMMIT_SHA

before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab.omilia.com:1986

build:
tags:
- docker-dind
stage: build
script:
- docker build -t $CONTAINER_TEST_IMAGE .
- docker push $CONTAINER_TEST_IMAGE

0 comments on commit 112f575

Please sign in to comment.