GoogleContainerTools / kaniko

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

fix: New cleanup when using --cleanup flag (#1406) #3130

Open mbenson opened 7 months ago

mbenson commented 7 months ago

Fixes #1406

Description

Rebase and re-push of #2783, requests for which the original author for unknown reasons did not satisfy.

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you review them:

Reviewer Notes

Release Notes

Stage-dependent files are now removed from kaniko root directory after building the image, improving the reliability of multiple invocations of the kaniko executor in the same container.

google-cla[bot] commented 7 months ago

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.

mbenson commented 7 months ago

The requests on the original PR were due to the CI/CD tests not kicking off, which still seems to be the case. Could this be due to the commit not including any test modifications?