From 8957dc5bfd215293a15e436cefb4f7641a5ea08c Mon Sep 17 00:00:00 2001
From: Teemu Autto <teemu.a.autto@student.jyu.fi>
Date: Fri, 20 Jan 2023 23:17:59 +0200
Subject: [PATCH] Added build.environment

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e909f78..fa574160 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,6 @@
 ## Stage names in the pipeline.
 stages:
   - build
-  - deploy
 
 variables:
   ## Name for the generated image. Change this if you wish, but watch out
@@ -10,7 +9,7 @@ variables:
   DOCKER_TAG: latest
 
   ## (Optional) More verbose output from pipeline. Enabling it might reveal secrets.
-  CI_DEBUG_TRACE: "true"
+  #CI_DEBUG_TRACE: "true"
 
 
 ## Use buildkit to build the container. `docker build` requires elevated
@@ -19,6 +18,7 @@ variables:
 ## Example gitlab-ci buildkit template: https://gitlab.com/txlab/ci-templates
 build:
   stage: build
+  environment: production
   image:
     name: moby/buildkit:v0.10.6-rootless
     entrypoint: [ "sh", "-c" ]
-- 
GitLab