kaniko/pkg/config
Gabriel Nützi 323e616a67
fix: Refactor `LayersMap` to correct old strange code behavior (#2066)
* fix: Correct flatten function in layers

- Added a test.
- Cache current image, track deletes in `whiteouts` as well as normal adds in `layers`.
- Fix ugly delete behavior of `layerHashCache`.
  Delete it when crerating a new snapshot.
- Slight cleanup in `snapshot.go`.
- Format ugly `WalkFS` function.

* fix: Add symbolic link changes  to Hasher and CacheHasher

* fix: Better log messages

* fix(ci): Integration tests

* fix(ci): Add `--no-cache` to docker builds

* fix(ci): Pass credentials for error integration test

* np: Missing .gitignore in `hack`

* np: Capitalize every log message

- Correct some linting.

* fix: Key function

- Merge only last layer onto `currentImage`.

* fix: Remove old obsolete `cacheHasher`
2022-05-17 20:30:58 -04:00
..
args.go fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
args_test.go Allow user to provide registry certificate 2020-03-08 18:17:50 +01:00
init.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
options.go fix: Main (#2094) 2022-05-17 13:27:24 -04:00
options_test.go add boilerplate 2020-08-13 14:44:07 -07:00
stage.go Update copy command cache key logic 2019-12-09 16:48:20 -08:00