https://pulumi.com logo
m

most-lighter-1731

11/20/2019, 10:11 AM
Hi, I was wondering if there was a way to force deployment of a new docker image in an
ecs.EC2Service
?
w

white-balloon-205

11/20/2019, 3:06 PM
If you include the tag or digest in the image name, it will trigger an update that new tag or digest.
q

quaint-garden-96746

11/20/2019, 6:41 PM
way to get digest
Copy code
yarn add @pulumi/docker
then
Copy code
const image = docker.getRegistryImage({
  name: "alpine:latest"
});

export const AlpineSha256Digest = image.sha256Digest;