I want to build devcontainer image without using previous built image as a cache in order to
pull upstream image's updates, but specifiying imageName implies cacheFrom and seems
there's no way to disable this.
| if(fullImageName){ |
| if(!cacheFrom.includes(fullImageName)){ |
| // If the cacheFrom options don't include the fullImageName, add it here |
| // This ensures that when building a PR where the image specified in the action |
| // isn't included in devcontainer.json (or docker-compose.yml), the action still |
| // resolves a previous image for the tag as a layer cache (if pushed to a registry) |
| core.info(`Adding --cache-from ${fullImageName} to build args`); |
| cacheFrom.splice(0,0,fullImageName); |
| } |
I want to build devcontainer image without using previous built image as a cache in order to
pull upstream image's updates, but specifiying
imageNameimpliescacheFromand seemsthere's no way to disable this.
ci/github-action/src/main.ts
Lines 70 to 78 in 96af31b