From bbd7ef33cfc2f48dceadf58ac7e78908c73c3421 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Mon, 11 Mar 2019 23:54:13 +0100
Subject: [PATCH] =?UTF-8?q?.gitlab-ci.yml=20hinzuf=C3=BCgen?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitlab-ci.yml | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 .gitlab-ci.yml
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..c77dfeb
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,13 @@
+image: docker:latest
+
+services:
+ - docker:dind
+
+before_script:
+ - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
+
+build:
+ stage: build
+ script:
+ - docker build --pull -t $CI_REGISTRY_IMAGE .
+ - docker push $CI_REGISTRY_IMAGE
\ No newline at end of file