Hi, I was wondering if there was a way to force de...
# general
m
Hi, I was wondering if there was a way to force deployment of a new docker image in an
ecs.EC2Service
?
w
If you include the tag or digest in the image name, it will trigger an update that new tag or digest.
q
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;