Skip to content

Commit

Permalink
update kaniko executor version to speed up image build (#1652)
Browse files Browse the repository at this point in the history
* update kaniko executor version to speed up image build
  • Loading branch information
gaoning777 authored Jul 23, 2019
1 parent 3da6e90 commit 17e8c89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/python/kfp/compiler/_component_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def _generate_kaniko_spec(self, namespace, arc_dockerfile_name, gcs_path, target
'--dockerfile=' + arc_dockerfile_name,
'--context=' + gcs_path,
'--destination=' + target_image],
'image': 'gcr.io/kaniko-project/executor:v0.5.0',
'image': 'gcr.io/kaniko-project/executor@sha256:78d44ec4e9cb5545d7f85c1924695c89503ded86a59f92c7ae658afa3cff5400',
'env': [{
'name': 'GOOGLE_APPLICATION_CREDENTIALS',
'value': '/secret/gcp-credentials/user-gcp-sa.json'
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/tests/compiler/testdata/kaniko.basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
serviceAccountName: default
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:v0.5.0
image: gcr.io/kaniko-project/executor@sha256:78d44ec4e9cb5545d7f85c1924695c89503ded86a59f92c7ae658afa3cff5400
args: ["--cache=true",
"--dockerfile=dockerfile",
"--context=gs://mlpipeline/kaniko_build.tar.gz",
Expand Down

0 comments on commit 17e8c89

Please sign in to comment.