You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to build multiple images from dynamic generated list (from eg. git repo). Since #2050 is not implemented I would like to iterate kaniko execution over list of images. In order to do that I need to execute shell in kaniko image. Kaniko images with debug tag consists of the kaniko executor image along with a busybox shell. Unfortunately using this shell is impossible in tekton task. Manually using docker works fine:
# docker run -it --entrypoint=/busybox/sh gcr.io/kaniko-project/executor:debug-v0.19.0 -c "echo test"
test
Is there any way I can use kaniko to build multiple images in tektoncd based on dynamic list (from eg. git repo)?
@vincent-pli thanks for info.
After additional test it seems that this issue occurs only on kubernetes clusters with containerd as a CRI (in GKE images: Container-Optimized OS with Containerd cos_containerd). On kubernetes with docker as CRI everything is fine.
Expected Behavior
Task executes without issue.
Actual Behavior
Executing task generates error:
Steps to Reproduce the Problem
Additional Info
I want to build multiple images from dynamic generated list (from eg. git repo). Since #2050 is not implemented I would like to iterate kaniko execution over list of images. In order to do that I need to execute shell in kaniko image. Kaniko images with debug tag consists of the kaniko executor image along with a busybox shell. Unfortunately using this shell is impossible in tekton task. Manually using docker works fine:
Is there any way I can use kaniko to build multiple images in tektoncd based on dynamic list (from eg. git repo)?
The text was updated successfully, but these errors were encountered: