feat: add containerimage support, solve #1734
Fixes #1734
Description
Currently Kaniko does not support .containerignore files and the change solves it by mimicing Podman behavior in this case. (if .containerignore present that's used, otherwise .dockerignore used)
Submitter Checklist
- [x] Includes unit tests
- [x] Adds integration tests if needed.
Reviewer Notes
- [ ] The code flow looks good.
- [ ] Unit tests and or integration tests added.
Release Notes
- kaniko adds support for .containerignore as primary ignore file
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
@JeromeJu @QuanZhang-William could any of you have a look at this?