From a559ed65ff279f9bba41ed549b467800b11c9ff4 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Thu, 16 Jul 2020 18:03:37 +0200
Subject: [PATCH] [ci] Build container in tag pipeline.

---
 scripts/ci/jobs/container.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/ci/jobs/container.yml b/scripts/ci/jobs/container.yml
index f72dc839aee..e687de1c81f 100644
--- a/scripts/ci/jobs/container.yml
+++ b/scripts/ci/jobs/container.yml
@@ -2,8 +2,10 @@ container:
   stage: package
   tags: [docker-shell]
   needs: [meta]
+  rules:
+    - if: '$CI_COMMIT_BRANCH == "master"'
+    - if: $CI_COMMIT_TAG
   extends:
-    - .rules-master
     - .container-maker-setup
   script:
     - python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs . --pm system --cvode
-- 
GitLab