From b83282f413b2a9121a70957d49338ae98830fefa Mon Sep 17 00:00:00 2001
From: alex kuklin <alex@kuklin.eu>
Date: Tue, 20 Nov 2018 15:02:20 +0200
Subject: [PATCH] artifact

---
 .gitlab-ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c846516..868a096 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,10 @@ stages:
 - build
 build:
   stage: build
+  artifacts:
+    paths:
+    - build.tgz
+    expire_in: 1 week
   only:
     - ci
   tags:
@@ -14,5 +18,6 @@ build:
     - git config --global credential.https://code.vereign.com.username gitlab-ci-token 
     - git config --global credential.helper "store --file /tmp/store" 
     - echo https://gitlab-ci-token:$CI_JOB_TOKEN@code.vereign.com > /tmp/store 
-    - make 
+    - make
+    - tar -czf build.tgz -C dist . 
 
-- 
GitLab