Skip to content

Commit

Permalink
Pin kaniko to earlier version because of permissions bug (#569)
Browse files Browse the repository at this point in the history
The latest version of kaniko (https://cloud.google.com/build/docs/kaniko-cache) is failing to build lit.dev with a permissions error. Many other users are seeing the same thing today. Downgrading temporarily works.

See GoogleContainerTools/kaniko#1786
  • Loading branch information
aomarks committed Oct 20, 2021
1 parent 0457225 commit 841b3ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cloudbuild-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ steps:
# https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/docker
# https://cloud.google.com/build/docs/kaniko-cache
- id: build
name: gcr.io/kaniko-project/executor
# Kaniko pinned to earlier version due to
# https://github.com/GoogleContainerTools/kaniko/issues/1786
name: gcr.io/kaniko-project/executor:v1.6.0
args:
- --dockerfile=./Dockerfile
- --destination=$_GCR_HOSTNAME/$PROJECT_ID/$REPO_NAME/lit-dev:$COMMIT_SHA
Expand Down
4 changes: 3 additions & 1 deletion cloudbuild-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ steps:
# https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/docker
# https://cloud.google.com/build/docs/kaniko-cache
- id: build
name: gcr.io/kaniko-project/executor
# Kaniko pinned to earlier version due to
# https://github.com/GoogleContainerTools/kaniko/issues/1786
name: gcr.io/kaniko-project/executor:v1.6.0
args:
- --dockerfile=./Dockerfile
- --destination=$_GCR_HOSTNAME/$PROJECT_ID/$REPO_NAME/lit-dev:$COMMIT_SHA
Expand Down

0 comments on commit 841b3ea

Please sign in to comment.