https://pulumi.com logo
#typescript
Title
# typescript
c

colossal-quill-8119

07/18/2022, 10:15 AM
is there a way to get head sha directly from pulumi without config
l

limited-rainbow-51650

07/18/2022, 10:44 AM
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

colossal-quill-8119

07/18/2022, 10:50 AM
I was talking about git sha sorry didn’t mention it
2 Views