{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleContainerTools/kaniko/issues/398","repository_url":"https://api.github.com/repos/GoogleContainerTools/kaniko","labels_url":"https://api.github.com/repos/GoogleContainerTools/kaniko/issues/398/labels{/name}","comments_url":"https://api.github.com/repos/GoogleContainerTools/kaniko/issues/398/comments","events_url":"https://api.github.com/repos/GoogleContainerTools/kaniko/issues/398/events","html_url":"https://github.com/GoogleContainerTools/kaniko/pull/398","id":370343453,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMDQyNzk4","number":398,"title":"Allow using --tarPath without --destination","user":{"login":"YorikSar","id":428074,"node_id":"MDQ6VXNlcjQyODA3NA==","avatar_url":"https://avatars2.githubusercontent.com/u/428074?v=4","gravatar_id":"","url":"https://api.github.com/users/YorikSar","html_url":"https://github.com/YorikSar","followers_url":"https://api.github.com/users/YorikSar/followers","following_url":"https://api.github.com/users/YorikSar/following{/other_user}","gists_url":"https://api.github.com/users/YorikSar/gists{/gist_id}","starred_url":"https://api.github.com/users/YorikSar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YorikSar/subscriptions","organizations_url":"https://api.github.com/users/YorikSar/orgs","repos_url":"https://api.github.com/users/YorikSar/repos","events_url":"https://api.github.com/users/YorikSar/events{/privacy}","received_events_url":"https://api.github.com/users/YorikSar/received_events","type":"User","site_admin":false},"labels":[{"id":1034302868,"node_id":"MDU6TGFiZWwxMDM0MzAyODY4","url":"https://api.github.com/repos/GoogleContainerTools/kaniko/labels/needs-ok-to-test","name":"needs-ok-to-test","color":"ededed","default":false},{"id":1037240090,"node_id":"MDU6TGFiZWwxMDM3MjQwMDkw","url":"https://api.github.com/repos/GoogleContainerTools/kaniko/labels/size/XS","name":"size/XS","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-15T21:05:04Z","updated_at":"2018-11-08T20:33:58Z","closed_at":"2018-11-08T20:33:58Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/GoogleContainerTools/kaniko/pulls/398","html_url":"https://github.com/GoogleContainerTools/kaniko/pull/398","diff_url":"https://github.com/GoogleContainerTools/kaniko/pull/398.diff","patch_url":"https://github.com/GoogleContainerTools/kaniko/pull/398.patch"},"body":"Currently user has to specify `--destination` argument even if one wants to generate tarball with resulting image:\r\n\r\n```\r\n% docker run -v $PWD:/context -v $PWD/out:/out gcr.io/kaniko-project/executor:v0.4.0 --context=/context --tarPath=/out/output.tar\r\nError: You must provide --destination, or use --no-push\r\nUsage:\r\n...\r\n```\r\n\r\nThis can be worked around by specifying `--destination=nothing`:\r\n\r\n```\r\n% docker run -v $PWD:/context -v $PWD/out:/out gcr.io/kaniko-project/executor:v0.4.0 --context=/context --tarPath=/out/output.tar --destination=nothing\r\nINFO[0000] Downloading base image ...\r\n```\r\n\r\nThis change removes need for such workaround since `--destination` is ignored when `--tarPath` is present anyway."},"comment":{"url":"https://api.github.com/repos/GoogleContainerTools/kaniko/issues/comments/437145973","html_url":"https://github.com/GoogleContainerTools/kaniko/pull/398#issuecomment-437145973","issue_url":"https://api.github.com/repos/GoogleContainerTools/kaniko/issues/398","id":437145973,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzE0NTk3Mw==","user":{"login":"sharifelgamal","id":20781941,"node_id":"MDQ6VXNlcjIwNzgxOTQx","avatar_url":"https://avatars1.githubusercontent.com/u/20781941?v=4","gravatar_id":"","url":"https://api.github.com/users/sharifelgamal","html_url":"https://github.com/sharifelgamal","followers_url":"https://api.github.com/users/sharifelgamal/followers","following_url":"https://api.github.com/users/sharifelgamal/following{/other_user}","gists_url":"https://api.github.com/users/sharifelgamal/gists{/gist_id}","starred_url":"https://api.github.com/users/sharifelgamal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharifelgamal/subscriptions","organizations_url":"https://api.github.com/users/sharifelgamal/orgs","repos_url":"https://api.github.com/users/sharifelgamal/repos","events_url":"https://api.github.com/users/sharifelgamal/events{/privacy}","received_events_url":"https://api.github.com/users/sharifelgamal/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T20:33:58Z","updated_at":"2018-11-08T20:33:58Z","author_association":"MEMBER","body":"Since this is actually a documentation issue, I'm going to go ahead and close this PR."}}
{"actor":{"display_login":"sharifelgamal"}}