Weird, I’m doing the same thing (cacheFrom an ECR image). I can see that it is pulling the image, but it doesn’t seem to actually do anything with it. The docker build still installs npm packages, etc - no cached layers are used.
Does it cache anything for you?
t
thousands-pizza-93362
05/02/2023, 3:12 AM
Yeah. So when I was using awsx and ecr to call buildAndPush, it was doing that. When I switched to using the pulumi docker library explicitly as you see in the example above, it worked. Works in the GitHub action too @gifted-barista-41153