This message was deleted.
# getting-started
s
This message was deleted.
d
Use the image hash instead of the name. What's
appImage
in your example?
b
Copy code
appImage, err := docker.NewImage(ctx, appName, &docker.ImageArgs{
			ImageName: pulumi.Sprintf("%s-docker.pkg.dev/%s/%s/api", region, projectID, appName),
			Build: &docker.DockerBuildArgs{
				Context:    pulumi.String("./"),
				Dockerfile: pulumi.String("./Dockerfile"),
				Platform:   pulumi.String("linux/amd64"),
			}})
How do I get the image hash from here?
d
b
I think that worked. Thanks Anthony!