|
|
@@ -173,7 +173,7 @@ func Apply(ctx context.Context, cliConf config.CLIConfig, client api.Client, por
|
|
|
buildSettings.CurrentImageTag = currentImageTag
|
|
|
buildSettings.ProjectID = cliConf.Project
|
|
|
|
|
|
- buildEnv, err := client.GetBuildEnv(ctx, cliConf.Project, cliConf.Cluster, appName, targetResp.DeploymentTargetID)
|
|
|
+ buildEnv, err := client.GetBuildEnv(ctx, cliConf.Project, cliConf.Cluster, appName, appRevision.ID)
|
|
|
if err != nil {
|
|
|
return fmt.Errorf("error getting build env: %w", err)
|
|
|
}
|