is there a way to get head sha directly from pulum...
# typescript
c
is there a way to get head sha directly from pulumi without config
l
With the
docker
provider, we have a
getRegistryImage
function. The result offers you the sha265 digest. https://www.pulumi.com/registry/packages/docker/api-docs/getregistryimage/#result
You will have to provide the proper registry credentials to the docker provider for this call to be succesfull if the registry is private. Have a look at property
registryAuth
here: https://www.pulumi.com/registry/packages/docker/api-docs/provider/#inputs
c
I was talking about git sha sorry didn’t mention it