This message was deleted.
# general
s
This message was deleted.
t
hey, I recently dealt with this, you might find this thread useful: https://pulumi-community.slack.com/archives/C84L4E3N1/p1619604843101500
f
@tall-scientist-89115 Hrmm... interesting. Did you ever find this
docker.Image.get()
function?
At the moment, I'm thinking I may just need to handle image upload to the repository outside of Pulumi 😕
👍 1
p
For me, that would be the best option (because of caching etc.) But I just haven't found any example of referencing the image in remote repository in the Pulumi program once it's pushed there.
f
@proud-art-41399 I would have guessed that's what RegistryImage or RemoteImage would be for (but like you said in that thread, I'd be hard-pressed to explain the difference between those 🤷 )
p
Yeah I think it will just have to try these two
t
yeah the best I've got right now speed wise is using github actions then just using an environment variable for the github build number, equivalent to the commit hash in terms of unnecessary deployment rollouts (since I'm using a mono repo). Ideally I could push the image hash downstream somehow and just use that with the DEPLOY_ENV but haven't figured that out yet
p
Can't you just pass it via env variable as well?