diff --git a/scripts/gitops-render.mjs b/scripts/gitops-render.mjs index d27f81ca..8d36b6bc 100644 --- a/scripts/gitops-render.mjs +++ b/scripts/gitops-render.mjs @@ -1067,7 +1067,8 @@ function transformWorkloads({ workloads, deploy, catalog, source, sourceBranch = if (!deployService) continue; const artifact = runtimeArtifactForService({ catalog, deploy, serviceId, source, registryPrefix, useDeployImages, digestPin, envReuseServiceIds }); const envReuse = runtimeLane && v02EnvReuseEnabled(catalog, serviceId, envReuseServiceIds); - const bootMetadata = envReuse ? bootMetadataForService({ args: { sourceRepo: deploy?.lanes?.[profile]?.sourceRepo || defaultSourceRepo, registryPrefix }, catalog, deployService, serviceId, source }) : null; + const bootDeployService = envReuse ? deployServiceForBoot(deploy, serviceId, profile) : null; + const bootMetadata = envReuse ? bootMetadataForService({ args: { sourceRepo: deploy?.lanes?.[profile]?.sourceRepo || defaultSourceRepo, registryPrefix }, catalog, deployService: bootDeployService, serviceId, source }) : null; const image = artifact.image; const runtimeCommit = artifact.commit; const runtimeImageTag = artifact.imageTag;