From f8ffc11ccf2ba29f61e7e927cc4592da15d248cc Mon Sep 17 00:00:00 2001
From: Torsten Grote <t@grobox.de>
Date: Wed, 12 Sep 2018 13:57:27 -0300
Subject: [PATCH] Tag Docker container when it verified a new Briar release

This is helpful when the script changes in a way that it can't reproduce
past releases anymore (see previous commit).
---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 48c8176..a8e3d1f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,6 +56,7 @@ check:
   stage: check
   script:
     - docker run --cap-add SYS_ADMIN --device /dev/fuse ${RELEASE_IMAGE} ./reproduce.py ${RELEASE_TAG}
+    - docker tag ${RELEASE_IMAGE} ${RELEASE_TAG}
+    - docker push ${RELEASE_TAG}
   only:
     - triggers
-
-- 
GitLab