kaniko/pkg
Priya Wadhwa 5e5623e5a4 Fix bug in SaveStage function for multistage builds
This change should fix the bug in #294, where kaniko wasn't recognizing
that a stage would be used in a later build and so wasn't saving it as a
tarball.

Each stage of the Dockerfile has a Name and a BaseName (FROM BaseName as
Name), but if a Name isn't specified then it's set to the same value as
BaseName. Our test cases weren't complete enough to catch this
distinction, which is why this bug occurred.

I added more test cases to the unit tests to make sure this fix works.
2018-08-20 15:10:17 -07:00
..
buildcontext Feature/contextsources (#195) 2018-07-06 06:24:50 -07:00
commands Set default home value (#281) 2018-08-10 12:58:07 -07:00
constants Set default home value (#281) 2018-08-10 12:58:07 -07:00
dockerfile Fix bug in SaveStage function for multistage builds 2018-08-20 15:10:17 -07:00
executor Add support for insecure registry (#169) 2018-08-15 11:28:16 -07:00
image dep update go-containerregistry 2018-06-03 00:59:34 +00:00
snapshot Get absolute path of file before checking whitelist 2018-08-17 18:29:11 -04:00
util Get absolute path of file before checking whitelist 2018-08-17 18:29:11 -04:00
version Set a user-agent for registry pushes. (#87) 2018-04-13 14:25:58 -07:00