if I'm building my docker images outside the pulum...
# general
i
if I'm building my docker images outside the pulumi step, is there a pulumi resource that lets me push that to a remote registry? I've tried docker.Image, docker.RemoteImage, and awsx.ecr.Image but they all fail because they expect build arg
not too sure why the default is to embed potentially expensive image builds into the pulumi work graph
d
It'd be
docker.RegistryImage
I generally just push with docker during the build process though
i
that'd be my ideal choice too, but the ECR repository is only available in the pulumi program (via a stack ref) I suppose I could get the repo URL earlier in the build process using
pulumi stack output
i
I had the same problem, and ended up pushing before running pulumi. I did entertain running artifactory locally and shuffling things around.