sparse-intern-71089
01/23/2023, 1:12 PMrich-motorcycle-3089
01/23/2023, 6:37 PMdocker.NewImage(ctx, getName(ctx), &docker.ImageArgs{
ImageName: pulumi.String(imageName),
Build: &docker.DockerBuildArgs{
Context: pulumi.String(dockerCtx),
},
// Empty registry args to use auto gcloud credentials
Registry: docker.ImageRegistryArgs{},
})
This image is then used to obtain an image name and is fed into a ServiceTemplateArgs object to fulfill the Template argument of the service. (Image attached)
At this point, we use a pulumi.DependsOn(ctx.DockerImage)
object like you’ve mentioned when constructing the cloudrunv2.NewService
object. (Image attached)rich-motorcycle-3089
01/23/2023, 6:38 PMrich-motorcycle-3089
01/23/2023, 6:49 PMbitter-train-58221
01/23/2023, 7:00 PMrefined-pilot-45584
01/23/2023, 7:06 PMrich-motorcycle-3089
01/23/2023, 7:14 PMrefined-pilot-45584
01/23/2023, 7:15 PMrefined-pilot-45584
01/24/2023, 8:49 AMrefined-pilot-45584
01/24/2023, 8:50 AMrefined-pilot-45584
01/24/2023, 8:51 AMrefined-pilot-45584
01/24/2023, 8:51 AMrefined-pilot-45584
01/24/2023, 8:52 AMrefined-pilot-45584
01/24/2023, 8:53 AMrefined-pilot-45584
01/24/2023, 8:55 AMrefined-pilot-45584
01/24/2023, 10:49 AMbitter-train-58221
01/24/2023, 10:19 PMrich-motorcycle-3089
01/25/2023, 1:29 AMBaseImageName
is referencing, but perhaps Pulumi was concluding the image that it points to did in fact exist and the dependency was met so it didn’t need to wait any further.rich-motorcycle-3089
01/25/2023, 1:30 AMrich-motorcycle-3089
01/25/2023, 1:33 AMrefined-pilot-45584
01/25/2023, 7:37 AM