https://pulumi.com logo
Title
a

ancient-eve-13947

08/16/2021, 7:26 PM
is there a way to use
docker.Image
to just build an image and keep it locally, without pushing it anywhere? background: without Pulumi, I first build a temporary image that builds my whole solution and publishes each service therein into a separate output directory; this one is huge and contains sensitive information (the access to our private nuget stream) and should never be pushed anywhere; and then I build the actual runtime images, using the temporary image with, for example,
COPY --from=tmpbuilder /output/notifications
. these should get pushed, obviously.
b

brave-planet-10645

08/16/2021, 8:10 PM
Is that what you mean?
a

ancient-eve-13947

08/17/2021, 8:41 AM
yes, I don't know why I didn't see that 😕 thank you!