Created
August 16, 2019 02:19
-
-
Save BenHizak/fd807a39a0d937cf4bd4004cf6b8b6c4 to your computer and use it in GitHub Desktop.
Example of Failing Kaniko Latest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| gcloud builds submit --dockerfile=./Dockerfile --config kaniko_latest.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM quay.io/roboll/helmfile:v0.79.1 | |
| # the same error was replicatd with later versions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| steps: | |
| - name: gcr.io/kaniko-project/executor:latest | |
| args: | |
| - --dockerfile=./Dockerfile | |
| - --destination=my-build-name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| starting build "adf18cb8-4a12-4749-abb6-2f73d174037c" | |
| FETCHSOURCE | |
| Fetching storage object: gs://myproject_cloudbuild/source/1565901660.57-ba1fb3ca8f3d48b6a4c22e8a39c63ded.tgz#1565901672116787 | |
| Copying gs://myproject_cloudbuild/source/1565901660.57-ba1fb3ca8f3d48b6a4c22e8a39c63ded.tgz#1565901672116787... | |
| / [0 files][ 0.0 B/ 33.8 MiB] | |
| - | |
| - [1 files][ 33.8 MiB/ 33.8 MiB] | |
| Operation completed over 1 objects/33.8 MiB. | |
| BUILD | |
| Pulling image: gcr.io/kaniko-project/executor:latest | |
| latest: Pulling from kaniko-project/executor | |
| Digest: sha256:78d44ec4e9cb5545d7f85c1924695c89503ded86a59f92c7ae658afa3cff5400 | |
| Status: Downloaded newer image for gcr.io/kaniko-project/executor:latest | |
| gcr.io/kaniko-project/executor:latest | |
| [36mINFO[0m[0000] Resolved base name quay.io/roboll/helmfile:v0.79.1 to quay.io/roboll/helmfile:v0.79.1 | |
| [36mINFO[0m[0000] Resolved base name quay.io/roboll/helmfile:v0.79.1 to quay.io/roboll/helmfile:v0.79.1 | |
| [36mINFO[0m[0000] Downloading base image quay.io/roboll/helmfile:v0.79.1 | |
| 2019/08/15 20:41:32 No matching credentials were found, falling back on anonymous | |
| [36mINFO[0m[0000] Error while retrieving image from cache: getting file info: stat /cache/sha256:b7f6deeb9f36248fd2a4cb52ecdf402280770a428aaf7c8f91c3e42dadf63a6d: no such file or directory | |
| [36mINFO[0m[0000] Downloading base image quay.io/roboll/helmfile:v0.79.1 | |
| 2019/08/15 20:41:33 No matching credentials were found, falling back on anonymous | |
| error building image: unsupported status code 405; body: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | |
| <title>405 Method Not Allowed</title> | |
| <h1>Method Not Allowed</h1> | |
| <p>The method is not allowed for the requested URL.</p> | |
| ERROR | |
| ERROR: build step 0 "gcr.io/kaniko-project/executor:latest" failed: exit status 1 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kaniko executor image id