summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorEric Engestrom <eric@igalia.com>2023-08-08 16:22:05 +0100
committerMarge Bot <emma+marge@anholt.net>2023-08-09 12:00:33 +0000
commit53231b01373197ad683218289679c274a837e6fe (patch)
treea0ad225c68af895b8bb2c789b445908af622ebac /.gitlab-ci
parent39e281073a0de2582b3a3e07d9f9d95b98451aee (diff)
downloadmesa-53231b01373197ad683218289679c274a837e6fe.tar.gz
mesa-53231b01373197ad683218289679c274a837e6fe.tar.bz2
mesa-53231b01373197ad683218289679c274a837e6fe.zip
ci: document max image tag length
I've known about this for years and yet I still accidentally wrote a too long tag. Document this for myself next time, and for everyone else. Signed-off-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24560>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/image-tags.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci/image-tags.yml b/.gitlab-ci/image-tags.yml
index a78819f07a8..6cc009c2737 100644
--- a/.gitlab-ci/image-tags.yml
+++ b/.gitlab-ci/image-tags.yml
@@ -1,3 +1,10 @@
+# Keep the tags below under 25-30 chars each, as they end up combined into
+# docker image tags, and docker has a length limit of 128 chars total in tags.
+#
+# If you update a tag and you get an error like this:
+# cannot parse input: "$image:$tag": invalid reference format
+# check the length of $tag; if it's > 128 chars you need to shorten your tag.
+
variables:
DEBIAN_X86_64_BUILD_BASE_IMAGE: "debian/x86_64_build-base"
DEBIAN_BASE_TAG: "2023-08-03-mold"