From 40f0cdab32d7e86d77090c32b43e9d9c89433256 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Tue, 24 Nov 2020 12:16:04 +0100
Subject: [PATCH] [ci] Upload serial container to registry.

Is then available as registry.opengeosys.org/ogs/ogs/ogs-serial.
---
 scripts/ci/jobs/container.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/ci/jobs/container.yml b/scripts/ci/jobs/container.yml
index 9db8c4214c4..fa37b4a2b7d 100644
--- a/scripts/ci/jobs/container.yml
+++ b/scripts/ci/jobs/container.yml
@@ -8,11 +8,13 @@ container:
   extends:
     - .container-maker-setup
   script:
+    - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
     - >
       poetry run ogscm compiler.py ogs.py -B -C -R --ogs ../..
       --build_args ' --progress=plain'
       --pm system --cvode --ccache
       --cmake_args ' -DBUILD_TESTING=OFF -DOGS_BUILD_UTILS=ON'
+      --tag $CI_REGISTRY/ogs/$CI_PROJECT_NAME/ogs-serial --upload
     - >
       poetry run ogscm compiler.py mpi.py ogs.py -B -C -R --ogs ../..
       --build_args ' --progress=plain'
-- 
GitLab