From bc28bd789c575e00f98d56b9e287d0f4c0cc7102 Mon Sep 17 00:00:00 2001
From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de>
Date: Wed, 18 Sep 2024 22:26:00 +0200
Subject: [PATCH] ci: Build container only after (successful) lint

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0d4fb83..4264d5e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -77,7 +77,9 @@ publish:
 
 build-container:
   stage: deploy
-  needs: []
+  needs:
+    - job: lint-py
+      artifacts: false
   cache: {}
   image: quay.io/buildah/stable:v1
   before_script:
-- 
GitLab