From 2068071275746b0c3a40451e87ca6ebb8f42408e Mon Sep 17 00:00:00 2001
From: Maarten de Waard <maarten@greenhost.nl>
Date: Wed, 6 Jan 2021 17:33:32 +0100
Subject: [PATCH] actually cut to 63 bytes, not characters

---
 variables.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/variables.sh b/variables.sh
index efd872a..3b77bf5 100644
--- a/variables.sh
+++ b/variables.sh
@@ -1,7 +1,7 @@
 # Set the docker image tag to the name of the current branch.
 # Shortened to 63 bytes because Gitlab does the same with the `CI_COMMIT_REF_SLUG`
 # variable, which we use in the CI script to build the docker image.
-dockerTag=$(git rev-parse --abbrev-ref HEAD | cut -c "-63")
+dockerTag=$(git rev-parse --abbrev-ref HEAD | cut -b "-63")
 
 # Only get the number from the issue (or whatever is in front of a dash
 # otherwise) for the release name
-- 
GitLab