From 97dc3699d8421c8b55315ed16710b138e4fe5fc5 Mon Sep 17 00:00:00 2001
From: Christian Boettcher <c.boettcher@fz-juelich.de>
Date: Tue, 11 Jan 2022 12:53:40 +0100
Subject: [PATCH] swap config to right task

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 89b44c8..9df1821 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,8 +16,6 @@ test:
   image: 
     name: apache/airflow:2.1.3
     entrypoint: [""]
-  tags:
-    - laptop
   before_script:
     - echo "DEBUG:"
     - pip --version
@@ -37,8 +35,12 @@ test:
 build-custom-image:
   stage: build
   image: docker:latest
+  tags:
+    - laptop
   services:
     - docker:dind
+  when:
+    - manual
   variables:
     IMAGE_COMMIT_TAG: $CI_REGISTRY_IMAGE/eflows-airflow:$CI_COMMIT_SHORT_SHA
     IMAGE_LATEST_TAG: $CI_REGISTRY_IMAGE/eflows-airflow:latest
-- 
GitLab