This message was deleted.
# general
s
This message was deleted.
👀 1
s
yes!
a
@steep-toddler-94095 Do you happen to be using system env for the same use case as I have described here? I'd really like to know if there is a way to perform image build / tag / push with pulumi while still being able to use a custom image tag (commit SHA). I suppose then I could have a build stack and a deploy stack for each service
To allow my build artifacts to remain decoupled from deploys
s
I'm not using a system env but i know Pulumi will be able to read them just fine with
process.env
What I do to tag my images with the git sha is I just use (for TypeScript)
execSync('git rev-parse --short HEAD').toString().trim()
since i run my pulumi code from the cloned repo.
a
Which resource / version do you use for defining your docker image? awsx? aws?
I have had difficulty specifying my own tag in pulumi for an image
s
I'm just using the
@pulumi/docker
package's
Image
class. does that answer your question or did i misinterpret you?
a
It definitely does. I should be using
@pulumi/docker
Thanks 🙂
p 1