From 6a58dfeac9913ca3fb52a177c59730a038d8b32e Mon Sep 17 00:00:00 2001
From: Adam Fekete <adam@fekete.co.uk>
Date: Mon, 11 Mar 2024 02:55:06 +0100
Subject: [PATCH] fix build tag

---
 .gitlab-ci.yml |  2 +-
 README.md      | 28 ++++++++++++++++++++++++++--
 2 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fb83478..4e9b517 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ build:
     name: gcr.io/kaniko-project/executor:debug
     entrypoint: [""]
   variables:
-    IMAGE_TAG: latest
+    IMAGE_TAG: ${CI_COMMIT_REF_SLUG}
     GIT_SUBMODULE_STRATEGY: recursive
     GIT_SUBMODULE_DEPTH: 1
     GIT_SUBMODULE_UPDATE_FLAGS: --jobs 4
diff --git a/README.md b/README.md
index 19a4fab..94da417 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,29 @@
-# analytics-convolutional-nn
+# tutorial-convolutional-nn
 
 ## Known issues
 - kerase-vis is not maintained anymore (since Apr 20, 2020)
-  - only works with: numpy==1.22.4, scipy==1.2.3
\ No newline at end of file
+  - only works with: numpy==1.22.4, scipy==1.2.3
+
+## Development
+
+Cloning the source code:
+```
+git clone git@gitlab.mpcdf.mpg.de:nomad-lab/ai-toolkit/tutorial-convolutional-nn.git
+cd tutorial-convolutional-nn
+git checkout updates # use a special branch
+```
+
+Running notebook image and mounting local folder into teh work directory:
+```
+docker run --rm -it -e DOCKER_STACKS_JUPYTER_CMD=notebook -p 8888:8888 -v $PWD:/home/jovyan/work gitlab-registry.mpcdf.mpg.de/nomad-lab/ai-toolkit/tutorial-convolutional-nn:updates
+```
+
+Building the image (advanced):
+```
+docker build --pull --rm -f "Dockerfile" -t gitlab-registry.mpcdf.mpg.de/nomad-lab/ai-toolkit/tutorial-convolutional-nn:updates "."
+```
+
+Running container with sudo feature (advanced):
+```
+docker run --rm -it --user root -e GRANT_SUDO=yes -e DOCKER_STACKS_JUPYTER_CMD=notebook -p 8888:8888 -v $PWD:/home/jovyan/work gitlab-registry.mpcdf.mpg.de/nomad-lab/ai-toolkit/tutorial-convolutional-nn:updates
+```
-- 
GitLab