kaniko image build: fix commit tags having double -- characters
This commit is contained in:
parent
c0b9bf6291
commit
9355d48cc8
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user