kaniko/pkg
Anurag Goel 82fe355f14 Fix issues with layer caching, noPush and tarPath (#549)
* Set TarPath to empty when pushing a layer

* Fix issues with layer caching, noPush and tarPath.

- Layer caching should work even when tarPath is specified, so this
commit changes the value of tarPath to empty when caching layers.

- When an image is built with just the tarPath and noPush
is true, we should still create the tarBall (which wasn't happening
before this commit).

* Set no-push to false for cache layers

* Remove extra log

* go-imports fix
2019-02-06 10:16:09 -06:00
..
buildcontext Replace gometalinter with GolangCI-Lint 2018-09-11 13:30:42 -07:00
cache Add insecure-registry and tls-skip-verify-registry flags (#537) 2019-01-29 13:29:47 -06:00
commands USER command needs /etc/passwd, thus require the fs to be unpacked (#508) 2019-01-08 17:26:54 -08:00
config Add insecure-registry and tls-skip-verify-registry flags (#537) 2019-01-29 13:29:47 -06:00
constants Re-add support for .dockerignore file 2018-12-10 15:20:25 -08:00
creds Refactor our credential fetching to only get k8s credentials if we are on k8s. (#522) 2019-01-11 11:36:43 -07:00
dockerfile Adding capability to get Dockerfile from URL. (#500) 2019-01-03 10:42:15 -06:00
executor Fix issues with layer caching, noPush and tarPath (#549) 2019-02-06 10:16:09 -06:00
image dep update go-containerregistry 2018-06-03 00:59:34 +00:00
snapshot Add a lot more timing data. (#518) 2019-01-10 13:27:55 -07:00
timing Add a lot more timing data. (#518) 2019-01-10 13:27:55 -07:00
util Add insecure-registry and tls-skip-verify-registry flags (#537) 2019-01-29 13:29:47 -06:00
version Set a user-agent for registry pushes. (#87) 2018-04-13 14:25:58 -07:00