Im getting slightly confused with Pulumi’s Docker ...
# general
b
Im getting slightly confused with Pulumi’s Docker
--cache-from
implementation. Is each image build explicitly tagged with the
stages
when doing the push?
Copy code
let multistageCachedNginx = new cloud.Service("examples-multistage-cached-nginx", {
    containers: {
        nginx: {
            build: {
                context: "./app",
                dockerfile: "./app/Dockerfile-multistage",
                cacheFrom: {stages: ["build"]},
            },
            memory: 128,
            ports: [{ port: 80 }],
        },
    },
    replicas: 2,
});
Copy code
[ lumi-cloud/examples/containers ]  +  cloud:service:Service examples-multistage-cached-nginx creating Executing 'docker pull <http://086028354146.dkr.ecr.us-east-2.amazonaws.com/pulum-b3285f40-container-f879faf:build|086028354146.dkr.ecr.us-east-2.amazonaws.com/pulum-b3285f40-container-f879faf:build>'
m
That was certainly the case originally. @lemon-spoon-91807 is this still the case?
l
checking
It's supposed to be. That's what i thought this code was for:
b
ok so thats fine
if they don’t exist the docker pull comes up as a warning, I thought that was throwing the tests off