kaniko
kaniko copied to clipboard
fix: consider exclueded file in COPY --from cache keys #2615
Fixes #2615
Description
This PR consider excluded files when kaniko calculates the cache key for COPY --from
command.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you review them:
- [ ] Includes unit tests
- [ ] Adds integration tests if needed.
See the contribution guide for more details.
Reviewer Notes
- [ ] The code flow looks good.
- [ ] Unit tests and or integration tests added.
Release Notes
Describe any changes here so maintainer can include it in the release notes, or delete this block.
Examples of user facing changes:
- kaniko adds a new flag `--registry-repo` to override registry