Commit Graph
27 Commits
Author SHA1 Message Date
Sam Stoelinga 1b662e7834 Merge pull request #1140 from samos123/fix-1122-public-gcr
Add ability to use public GCR repos without being authenticated
2020-03-24 10:31:58 -07:00
Tejal Desai d1cf3afdce Merge pull request #1121 from carlossg/acr-help
Use the correct name for acr helper
2020-03-17 16:06:12 -07:00
Sam StoelingaandNate Williams 8a020010b7 Add ability to use public GCR image
Kaniko by default used to configure the GCR credential helper however
this caused Kaniko to fail when trying to use a base image from a public
GCR image. This patch makes it possible to use public GCR images as base
image when using docker even when you're not authenticated to GCR.

Co-authored-by: Nate Williams <nate.williams@files.com>
2020-03-17 09:09:41 -07:00
Ben Einaudi 8b8be5c418 Migrate to golang 1.14
* Upgrade go.mod file

* Upgrade travis file

* Run rm -rf vendor && go mod tidy && go mod vendor to upgrade vendor/modules.txt according to golang 1.14

* Upgrade golangci-lint version
2020-03-15 10:20:43 +01:00
Carlos Sanchez 7d345f13d2 Use the correct name for acr helper
Add it to debug and warmer images too
2020-03-10 18:15:17 +01:00
Ben Einaudi b73c2c10c8 Allow user to provide registry certificate
Fixes #1100
Fixes #1101
2020-03-08 18:17:50 +01:00
Anthony Davies ed22afc19b Rebase fix for PR #646
I needed this for my arm64 k8s cluster. I have zero Go experience but
enough experience with other things to fix the rebase (I think!). This
patch is working fine on my cluster.
2020-01-20 13:43:45 +11:00
Remko van Hunen c9d09109bc Update Dockerfile 2020-01-03 10:44:13 +01:00
Thao-Nguyen Do 0183405c11 Update base image for main image to golang:1.12 2019-04-29 09:16:13 +02:00
dlorenc 9f65174cb8 Generate the config.json from gcloud rather than relying on a hardcoded one. (#551)
marketplace.gcr.io now requires auth, but our credential helper doesn't know that.
2019-02-04 16:53:59 -06:00
dlorenc 9d10516698 Reorder the Dockerfile for faster iterations. (#515) 2019-01-09 10:39:41 -08:00
dlorenc cc447088c0 Set a workdir so paths can be relative to /workspace. 2018-06-26 10:54:04 -07:00
Priya Wadhwa e3f4dc479d Move all files in executor image to /kaniko directory 2018-05-21 14:08:06 -07:00
Priya Wadhwa 5f547b163b Merge branch 'master' of github.com:GoogleContainerTools/kaniko into aws 2018-05-07 09:24:00 -07:00
Priya Wadhwa 26b8e01697 Remove workdir 2018-05-03 11:26:32 -04:00
Priya Wadhwa 8d3731a984 Add credential helper and docs for pushing to Amazon ECR 2018-05-02 17:15:53 -04:00
Priya Wadhwa c2516b4dcf Use official version of docker-credential-gcr 2018-05-02 13:53:28 -04:00
Priya Wadhwa b9435943ec clean up makefile 2018-04-27 14:58:28 -07:00
Priya Wadhwa 3705de2298 Switch to multi-stage dockerfile for building kaniko 2018-04-27 14:42:59 -07:00
Priya Wadhwa ebdf0eafc3 Build kaniko with docker 2018-04-26 14:39:22 -07:00
dlorenc cd5b744904 Switch from containers/image to go-containerregistry (#140)
* Vendor changes for go-containerregistry switch.

* Manual changes for go-containerregistry switch.

The biggest change is refactoring the tarball unpacking.

* Pull more of container-diff out.

* More vendor removals.

* More unit tests.
2018-04-25 19:21:05 -07:00
Matt Rickard 2ff7a6556a dockerfile: add custom ssl certs dir (#88)
The certs should be added to the whitelisted kaniko directory so that
an image build does not override them and possibly affect the push to
the registry.
2018-04-15 13:40:17 -07:00
Priya Wadhwa 4e2bf40736 Merged master 2018-04-04 13:35:20 -07:00
Priya Wadhwa bf662d986b Merge branch 'master', add examples 2018-04-04 10:42:14 -07:00
Priya Wadhwa fad0d25aec Add README and update name to kaniko 2018-04-02 14:00:15 -07:00
Priya Wadhwa 85183aadee Add executable as entrypoint to image 2018-04-02 11:20:10 -07:00
dlorenc d9c31044b9 Reorganize Dockerfile, add a make target for images. (#48) 2018-03-26 09:53:41 -07:00