Skip to content
Snippets Groups Projects
Unverified Commit 4649e963 authored by Roman Azarenko's avatar Roman Azarenko
Browse files

CI: use proper ref name to maintain dots in version numbers

parent e1be4507
Branches
Tags
No related merge requests found
Pipeline #44308 passed
......@@ -10,7 +10,7 @@ docker:
entrypoint: [""]
script:
- |
CONTAINER_TAG="${CI_COMMIT_REF_SLUG}"
CONTAINER_TAG="${CI_COMMIT_REF_NAME}"
if [ "${CONTAINER_TAG}" = "${CI_DEFAULT_BRANCH}" ]; then
CONTAINER_TAG="latest"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment