diff --git a/infrastructure/cicd/tekton-helm/templates/task-kaniko-build.yaml b/infrastructure/cicd/tekton-helm/templates/task-kaniko-build.yaml index ebdfe507..c2812982 100644 --- a/infrastructure/cicd/tekton-helm/templates/task-kaniko-build.yaml +++ b/infrastructure/cicd/tekton-helm/templates/task-kaniko-build.yaml @@ -130,7 +130,8 @@ spec: # Build each service SEQUENTIALLY to avoid registry upload conflicts # Track build results using files (variables don't persist across subshells) - BUILD_STATUS_FILE="/tmp/build_status" + # Note: Use /tekton/home instead of /tmp as Kaniko container doesn't have /tmp + BUILD_STATUS_FILE="/tekton/home/build_status" echo "0" > "$BUILD_STATUS_FILE.success" echo "0" > "$BUILD_STATUS_FILE.failed" echo "" > "$BUILD_STATUS_FILE.failed_services"