Open tech-discuss opened 1 year ago
Gitlab requires a shell, there is no shell in the gcr.io/kaniko-project/executor:latest
image, you need to use the gcr.io/kaniko-project/executor:debug
image. You are running your build:
step on the image defined at the global scope, ie. google/cloud-sdk:latest
which obviously does not have kaniko installed.
@ibnazher were you able to resolve this using the information @waddles provided?
As they mentioned it seems you attempted to use the kaniko executor
binary on an image that did not contain it. Likely you would want to use the image - gcr.io/kaniko-project/executor:debug
as mentioned above.
### .gitlab-ci.yml file
### Error Message