https://pulumi.com logo
Title
h

happy-gpu-24908

11/15/2021, 5:34 PM
Hi, I am trying out to get a docker image data to deploy the latest version to gcp cloud run.
image, err := docker.NewRemoteImage(ctx, dockerImage, &docker.RemoteImageArgs{
		Name:        pulumi.Sprintf("%s-docker.pkg.dev/%s/%s/%s:%s", repo.Location, repo.Project, repo.RepositoryId, conf.serviceName, conf.version),
		KeepLocally: pulumi.Bool(true),
		PullTriggers: pulumi.StringArray{
			pulumi.String("something"),
		},
	})
	if err != nil {
		return err
	}
But this works randomly. Means half of the time it works, half of the time it returns error. Related to https://github.com/pulumi/actions/issues/28