diff --git a/drone/BuildImageWithKaniko.yml b/drone/BuildImageWithKaniko.yml index 98b6ba3..e2d83de 100644 --- a/drone/BuildImageWithKaniko.yml +++ b/drone/BuildImageWithKaniko.yml @@ -29,7 +29,7 @@ # default tag based on commit - | if [[ "$TAG_COMMIT_ENABLE" == "true" ]]; then - IMAGE_DESTS="$IMAGE_DESTS --destination $CI_REGISTRY_IMAGE:${TAG_COMMIT_PREFIX}${CI_COMMIT_SHA}" + IMAGE_DESTS="$IMAGE_DESTS --destination $CI_REGISTRY_IMAGE:$TAG_COMMIT_PREFIX$CI_COMMIT_SHA" fi # add tag for reference if available using slug