mirror of
https://github.com/harness/drone.git
synced 2025-05-17 09:30:00 +08:00
[fix]: [AH-487]: added oci prefix in helm pull command (#2968)
* [fix]: [AH-487]: added oci prefix in helm command
This commit is contained in:
parent
d4c7f6930c
commit
0f4df14661
@ -354,7 +354,7 @@ func GetDockerPullCommand(
|
|||||||
}
|
}
|
||||||
|
|
||||||
func GetHelmPullCommand(image string, tag string, registryURL string) string {
|
func GetHelmPullCommand(image string, tag string, registryURL string) string {
|
||||||
return "helm install " + GetRepoURLWithoutProtocol(registryURL) + "/" + image + ":" + tag
|
return "helm pull oci://" + GetRepoURLWithoutProtocol(registryURL) + "/" + image + ":" + tag
|
||||||
}
|
}
|
||||||
|
|
||||||
// CleanURLPath removes leading and trailing spaces and trailing slashes from the given URL string.
|
// CleanURLPath removes leading and trailing spaces and trailing slashes from the given URL string.
|
||||||
|
Loading…
Reference in New Issue
Block a user