Skip to content

Commit 5deb8b4

Browse files
authored
Merge pull request #1288 from silenceper/fix-image-tag
fix getKmeshWaypointImage tag
2 parents 3a81bcc + e5ead63 commit 5deb8b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ctl/waypoint/waypoint.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,8 @@ func getKmeshWaypointImage() string {
630630
}
631631

632632
ver := version.Get().GitVersion
633+
// if ver prefix with v, remove it
634+
ver = strings.TrimPrefix(ver, "v")
633635

634636
return fmt.Sprintf("ghcr.io/kmesh-net/waypoint:v%s", ver)
635637
}

0 commit comments

Comments
 (0)