From 7a1f2c245b1b5da0946bf3e81e89339c73a39ee2 Mon Sep 17 00:00:00 2001
From: Guilhem Bonnefille <guilhem.bonnefille@c-s.fr>
Date: Fri, 29 Apr 2022 15:42:26 +0000
Subject: [PATCH] doc: add comment

---
 templates/gitlab-ci-docker.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/templates/gitlab-ci-docker.yml b/templates/gitlab-ci-docker.yml
index 7255313..fd47783 100644
--- a/templates/gitlab-ci-docker.yml
+++ b/templates/gitlab-ci-docker.yml
@@ -269,6 +269,9 @@ stages:
     done
   }
 
+  # Cf https://docs.docker.com/engine/reference/commandline/tag/
+  # > A tag name must be valid ASCII and may contain lowercase and uppercase letters, digits, underscores, periods and dashes.
+  # > A tag name may not start with a period or a dash and may contain a maximum of 128 characters.
   function normalize_image() {
     imgprefix=${1%%:*}
     tagonly=${1#*:}
-- 
GitLab