diff --git a/ci-templates/README.adoc b/ci-templates/README.adoc
index 568323910b4fa51b19b0b632e288e9e01fd305f7..a6b92fbb5ca18b731e1b1766fe11e2634922ade4 100644
--- a/ci-templates/README.adoc
+++ b/ci-templates/README.adoc
@@ -23,7 +23,7 @@ The Core pipeline, defined in link:ci-templates/core.yml[], has the following st
     ** Calls `ddeploy` to generate the docker image
     ** Renames the image created by ddeploy with different tags and pushes them to the registry.
     *** Tag `${COMMIT_SHA}` (hash of commit)
-    *** Tag `${CI_COMMIT_REF_SLUG}` (branch or tag name)
+    *** Tag `${CI_COMMIT_REF_NAME}` (branch or tag name)
     *** Tag `latest` only on the default branch
 - Stage: `.post`
   * Check `bash`/`sh` script syntax
diff --git a/ci-templates/industrial-ci-templates.yml b/ci-templates/industrial-ci-templates.yml
index a8ef12a5a652a3df3ceb2149b2e3d9cb73a9bc0c..4281ca83e233d400a38c97af15c94450c61c6bb4 100644
--- a/ci-templates/industrial-ci-templates.yml
+++ b/ci-templates/industrial-ci-templates.yml
@@ -19,7 +19,7 @@
   variables:
     DOCKER_PUSH_REGISTRY: ${ARTIFACT_DOCKER_URL}
     DOCKER_PUSH_NAME: ${CI_PROJECT_PATH}
-    DOCKER_PUSH_TAG: ${CI_COMMIT_REF_SLUG}
+    DOCKER_PUSH_TAG: ${CI_COMMIT_REF_NAME}
     DDEPLOY_YAML: ddeploy.yaml
   before_script:
     - apk add --update python3 git py3-pip git-lfs bash curl jq