mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
refact(build):trim leading v from image tag
Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
a8a490e9cb
commit
654f363b5d
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ function TagAndPushImage() {
|
||||||
# Example: v1.10.0 maps to 1.10.0
|
# Example: v1.10.0 maps to 1.10.0
|
||||||
# Example: 1.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
|
# 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
|
# Add an option to specify a custom TAG_SUFFIX
|
||||||
# via environment variable. Default is no tag.
|
# via environment variable. Default is no tag.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue