Commit Graph

201 Commits

Author SHA1 Message Date
Bryan A. S ee513538f6
fix(README.md): remove duplicate caching section (#2223)
Remove duplicate paragraph at caching/caching layers section.
2022-08-25 10:51:14 -04:00
Gabriel Nützi 90e426ba3f
refactor: Make CLI argument names consistent (#2084)
* fix: Wrong argument naming

* fix: tarPath as well

* Test

* fix: Fix tests

* np: Format markdown

* fix: Review changes
2022-08-22 09:10:11 -04:00
Ramy f9dcb92c38
add cache run command option (#2032)
Co-authored-by: Rami CHAABANE <rchaabane@scaleway.com>
2022-08-09 08:35:00 -04:00
Ishant Mrinal Haloi 1c0e5a0aca
Update Azure credHelpers docs (#2109) 2022-05-27 11:29:59 -04:00
Yonatan Koren ce1fb51579
Fix README blurb on --cache-copy-layers, so that the purpose of the flag is more clear. (#2064)
Co-authored-by: Yonatan Koren <10080107+korenyoni@users.noreply.github.com>
2022-05-16 12:20:14 -07:00
Jasper Ben Orschulko b6d18cc150
README.md: Update docs on building for AWS ECR (#2020)
- Kaniko v.1.8.0 does not require additional cred helper logic for ECR,
as it discovers ECR repositories automatically and acts accordingly.
Thus removed from the documentation.
- Add details on using IAM role based authentication for pushing to ECR.

Fixes https://github.com/GoogleContainerTools/kaniko/issues/780
Fixes https://github.com/GoogleContainerTools/kaniko/issues/1455

Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
2022-03-28 09:49:38 -04:00
Wolfgang Walther 2bc27c63a1
Fix formatting for `--image-fs-extract-retry` (#1942) 2022-02-17 14:59:21 -08:00
Pat Litke 87bed1417f
Update readme (#1897)
Describes work-around for #1803 - add an example of how to work around issues encountered out of the box when trying to pass build-args that contain spaces in their values
2022-01-28 14:51:08 -05:00
jeunii 54395fc944
Fix typo (#1825) 2021-12-23 12:03:20 -05:00
Sebastiaan Tammer 2cb0387758
Fix broken anchor link (#1804) 2021-12-23 11:35:21 -05:00
Bernardo Marques 7ae8e7d740
Update readme insecure flags (#1811)
* Clarify usage of --skip-tls-verify-registry argument

Referring to --skip-tls-verify-registry as a "flag" is misleading since
command line flags usually require no value. Thus, the documentation
is updated to match the behavior of the command line argument.

* Clarify usage of --insecure-registry argument

Referring to --insecure-registry as a "flag" is misleading since
command line flags usually require no value. Thus, the documentation
is updated to match the behavior of the command line argument.
2021-12-23 11:32:39 -05:00
Dávid Szakállas 840923b798
add documentation on ACR cred helper (#1831) 2021-12-23 11:32:17 -05:00
Jason Hall 59c2d2d08f
Collapse integration test workflows into one config (#1855)
* Collapse integration test workflows into one config

Remove last traces of Travis, including env vars and `make travis-setup`
and badges in README

* fix lint

* make integration tests pass on PRs
2021-12-22 20:04:40 -05:00
Janosch Maier 46e01340c2
Remove tarball.WithCompressedCaching flag to resolve OOM Killed error (#1722)
* Remove tarball.WithCompressedCaching flag to resolve OOM Killed error

Large images cannot be build as the kaniko container will be killed due to an OOM error. Removing the tarball compression drastically reduces the memory required to push large image layers. Fixes #1680

This change may increase the build time for smaller images. Therefore a command line option to trigger the compression or a more intelligent behaviour may be useful.

* Add new command line flag to toggle compressed caching

* Add unittest for build with --compressed-caching command line flag set to false
2021-10-19 00:14:06 -07:00
Mikhail Vasin 544abd7665
Fix typo (#1719)
* Fix typo

* Another typo
2021-10-18 23:56:04 -07:00
Yahav Itzhak 211d487e44
Add instructions for using Artifactory (#1715) 2021-08-10 22:01:12 -07:00
Silvano Cirujano Cuesta 1d9bc175c2
Add support for CPU variants (#1676)
Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
Inspired-by: mickkael 19755421+mickkael@users.noreply.github.com
2021-07-08 12:05:38 -07:00
ankitm123 9997cd4d40
docs: add missing cache-copy-layers arg in README (#1672)
Signed-off-by: ankitm123 <ankitmohapatra123@gmail.com>
2021-07-08 12:01:09 -07:00
Jose Donizetti 5b3fb84a22
Retry extracting filesystem from image (#1685)
* Retry extracting filesystem from image

* Add flag image-fs-extract-retry

* Add --image-fs-extract-retry documentation
2021-07-08 12:00:22 -07:00
Tejal Desai 04fb2fd55e
rename flag `--whitelist-var-run` to `ignore-var-run` (#1668)
* rename flag

* instead depcrecate

* add normalize function
2021-06-14 12:08:37 -07:00
Jon Friesen d40a51f38f
adds ignore-path command arguments to executor (#1622)
* adds ignore-path command

* add flag to README
2021-04-13 14:29:51 -07:00
priyawadhwa 298245c648
Check-in cosign public key and update README (#1611) 2021-03-31 09:14:07 -05:00
Tejal Desai ea96245f64
Add references to the bottom 2021-02-22 22:23:49 -08:00
Viktor Farcic 5e4fe2b9f2
docs: Added a video introduction to Kaniko (#1517)
* Video introduction

* Update README.md

Add new references section

Co-authored-by: Tejal Desai <tejal29@gmail.com>
2021-02-22 22:22:59 -08:00
Sascha Schwarze 69f942f751
Improve retry behavior for push operation (#1578)
* Update go-containerregistry to 0.4

* Implement --push-retry argument
2021-02-22 21:25:58 -08:00
Max Wittig 09cac63b7b
docs(readme): add dockerfile flag documentation (#1566) 2021-02-08 09:59:41 -08:00
Or Geva b3e036aab2
Add --image-name-tag-with-digest flag (#1541) 2021-01-19 13:28:05 -08:00
Alec Rajeev 397912d96c
Fix travis-ci link (#1535) 2021-01-03 10:09:28 -08:00
Tejal Desai 9f76932171
Update GowalkDir dependency to pick up fixes. Added default 90 min timeout for walking FS. Override it with environment variable. Add slowjam to kaniko pod (#1530) 2020-12-21 22:40:37 -08:00
Tejal Desai b04399eeac
add caching copy layers back (#1518)
* add caching copy layers back

* fix test

* lint

* fix test - 2

* Add integration test

* fix lint
2020-12-11 00:25:03 -08:00
Vincent Behar 131828a1ad
feat: support multiple registry mirrors with fallback (#1498)
Fixes #1473

The initial implementation of the registry mirror only allowed a single mirror, and if pulling from the mirror failed, the build would fail.

This change introduces:
- multiple registry mirrors instead of a single one
- fallback if an image can't be pulled from a registry

This is the same behavior as the docker daemon and will allow using a registry mirror such as `mirror.gcr.io` which is incomplete and doesn't have all the content that the default registry on docker.io has.

Note that there are no changes in the CLI flags, the `--registry-mirror` flag is still valid. But now it can be used multiple times to set up more than one registry mirror.

Co-authored-by: Tejal Desai <tejaldesai@google.com>
2020-12-08 16:16:25 -08:00
Lars Toenning 5fad5f360f
Document flags for tarball build only (#1503) 2020-12-08 16:13:53 -08:00
mickkael 275cc9a7e7
Add option customPlatform (#1500)
* Add option customPlatform

* fix formatting

* fix No newline at end of file
2020-12-08 16:11:18 -08:00
zhouhaibing089 83424ba1a1
doc: clarify the format of --registry-mirror (#1504)
In the context of Docker Hub ratelimit, registry mirror has been applied
more and more. It's very unfortunate that kaniko doesn't take the same
form as docker/containerd. The registry mirror shouldn't have scheme
like `https://` included. This is not explicitly described in the doc.
2020-12-08 16:04:19 -08:00
Tejal Desai bbd06c48bd
Add docs for GKE workload identity. (#1476)
* Add docs for GKE workload identity.

* Add instructions to use kaniko pod with Workload identity

* grammar fix
2020-11-02 23:21:40 -08:00
Ian Kerins 1240333657
Stop caching COPY layers (#1408)
Cached COPY layers are expensive in that they both need to be retrieved
over the network and occupy space in the layer cache.

They are unnecessary in that we already have all resources needed to
execute the COPY locally, and doing so is a trivial file-system
operation.  This is in contrast to RUN layers, which can do
arbitrary and unbounded work.

The end result is that cached COPY commands were more expensive when
cached, not less.  Remove them.

Resolves #1357
2020-09-30 17:18:50 -07:00
好风 63153a3b33
Update README.md (#1437)
fix writing
2020-09-30 16:46:03 -07:00
Didier Durand fdbd250af8
Readme.md : Kaniko -> kaniko (#1435)
Hi there,
The preferred spelling seems to be all lowercase: I fixed those with uppercase K.
(Sorry for this modest intial contribution ;-) but I hope to come back with more..
Didier
2020-09-30 16:44:06 -07:00
Thomas Stromberg 3012551204 Run doctoc 2020-08-29 11:03:43 -07:00
Thomas Stromberg c0b88a03de Add missing flags/options to README, sort them 2020-08-29 11:01:44 -07:00
Tejal Desai 2a4ab62a08
Merge pull request #1394 from isker/patch-1
Update README.md re: layer cache behavior
2020-08-27 17:44:42 -07:00
Tejal Desai fdd2d4871b
Merge pull request #1398 from kskumgk63/patch-1
Fix links on README
2020-08-27 17:44:06 -07:00
Tejal Desai 71b6a244ba
Update README.md
use v1 endpoint.
2020-08-27 15:34:57 -07:00
Keisuke Umegaki a77fc85861
Fix link, --context-sub-path ,--skip-unused-stages 2020-08-26 10:59:06 +09:00
Ian Kerins 6bab9ed4d1
Update README.md re: layer cache behavior
#1357
2020-08-21 22:23:57 -04:00
Tejal Desai 3387ceddfb
Merge pull request #1385 from renatosuero/add-gcr-instructions
Added instructions to use gcr without kubernetes
2020-08-17 15:28:08 -07:00
Renato Suero 268fdb4f2a
Added instructions to use gcr without kubernetes 2020-08-17 16:14:21 +02:00
Tejal Desai 1bf66ef435
Merge pull request #1153 from why-xn/master
Checkout a specific git commit
2020-08-13 10:41:26 -07:00
Tejal Desai d83338e372
Merge pull request #1318 from caarlos0/git
feat: accept GIT_TOKEN
2020-08-13 10:40:07 -07:00
Takumasa Sakao 71f37f084d Format json & yaml in README 2020-08-03 06:09:01 +09:00