Skip to content

Commit 0264c28

Browse files
authored
ci(gcb): update kaniko version and retry pushes (#6634)
This change likely fixes #6327. As of today, Kaniko `v1.6.0` is the newest released version. Using that version directly results in the crash described in GoogleContainerTools/kaniko#1604. However, using the `v1.6.0-debug` image works, I _think_ because of a different version of the `docker-credentials-gcr` helper as I described in GoogleContainerTools/kaniko#1604 (comment) Updating Kaniko may also help #6336
1 parent bcdc03f commit 0264c28

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ci/cloudbuild/cloudbuild.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,14 @@ logsBucket: 'gs://${_LOGS_BUCKET}/logs/google-cloud-cpp/${_TRIGGER_SOURCE}/${COM
6262

6363
steps:
6464
# Builds the docker image that will be used by the main build step.
65-
- name: 'gcr.io/kaniko-project/executor:edge'
65+
- name: 'gcr.io/kaniko-project/executor:v1.6.0-debug'
6666
args: [
6767
'--log-format=text',
6868
'--context=dir:///workspace/ci',
6969
'--dockerfile=ci/cloudbuild/dockerfiles/${_DISTRO}.Dockerfile',
7070
'--cache=true',
7171
'--destination=gcr.io/${PROJECT_ID}/${_IMAGE}:${BUILD_ID}',
72+
'--push-retry=3',
7273
]
7374

7475
# Pull the docker image. The step running 'ci/cloud/build.sh' would do this

0 commit comments

Comments
 (0)