From 654f363b5ddc8d01cbf35bc5f157a237dc483249 Mon Sep 17 00:00:00 2001 From: Pawan Date: Thu, 7 May 2020 19:51:59 +0530 Subject: [PATCH] refact(build):trim leading v from image tag Signed-off-by: Pawan --- buildscripts/push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscripts/push b/buildscripts/push index f62829d..b83b31d 100755 --- a/buildscripts/push +++ b/buildscripts/push @@ -60,7 +60,7 @@ function TagAndPushImage() { # Example: v1.10.0 maps to 1.10.0 # Example: 1.10.0 maps to 1.10.0 # Example: v1.10.0-custom maps to 1.10.0-custom - TAG="$2#v" + TAG="${2#v}" # Add an option to specify a custom TAG_SUFFIX # via environment variable. Default is no tag.