Kaniko - 2nd destination directory is not created when using Cloud Build #2817
Labels
area/caching
For all bugs related to cache issues
area/registry
For all bugs having to do with pushing/pulling into registries
kind/question
Further information is requested
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
product/artifact-registry
provider/gcp
The 2nd destination folder does not create a cache folder on Google Cloud Artifact Registry. I am using the latest kaniko release.
Only the first cache directory is created from my cloudbuild.yaml.
By swapping the destinations around, I can confirm that the 2nd destination folder is not created on Artifact Registry.
I've read around the issues on GitHub and the general consensus appears to be that a 2nd destination cache is possible but it just doesn't work for me in my tests.
Is a 3rd, 4th and 5th cache directory supported with Kaniko or limited to 2 cache folders ?
Here is the relevant section in cloudbuild.yaml
Both container images are created successfully and pushed to Artifact Registry however the 2nd destination directory is not created
This is the directory structure that I see on Artifact Registry, so app2-image-cache has not been created.
The text was updated successfully, but these errors were encountered: