mirror of
https://github.com/harness-community/drone-helm-chart-container-registry.git
synced 2026-06-04 18:24:12 +08:00
changes
This commit is contained in:
@@ -75,10 +75,12 @@ func main() {
|
||||
settings := new(cli.EnvSettings)
|
||||
client.Settings = settings
|
||||
|
||||
ociURL := "oci://" + registryUrl + "/" + namespace
|
||||
var ociURL string
|
||||
|
||||
if projectId != "" {
|
||||
ociURL = "oci://" + registryUrl + "/" + projectId + "/" + namespace
|
||||
} else {
|
||||
ociURL = "oci://" + registryUrl + "/" + namespace
|
||||
}
|
||||
|
||||
_, err = client.Run(packageRun, ociURL)
|
||||
|
||||
Reference in New Issue
Block a user