GoogleContainerTools / kaniko

Build Container Images In Kubernetes
Apache License 2.0
14.88k stars 1.44k forks source link

Use image hash instead of string to calculate caching hash #2061

Open darkdragon-001 opened 2 years ago

darkdragon-001 commented 2 years ago

Actual behavior

Expected behavior Cache should be based on content.

To Reproduce Create parent and child Dockerfiles, tag images accordingly and use cache.

Additional Information

gabyx commented 2 years ago

This is indeed not a good solution as it is right now.

git9am commented 1 year ago

Experiencing exactly same issue. Is there any workaround for this "FROM based on ARG" scenario?