Jenkins Serverless Architecture

I am trying to reach community members, get their ideas and thoughts.
Are you able to build and push docker images in declartive pipelines;Is respository ECR.
If other then kaniko container tools. Please can you provide details about the tool.
When using kaniko container tool have you encountered any issues in shell script stage like below.
wrapper script does not seem to be touching the log file in /home/jenkins/workspace/XXXX-XXXX-XXXX-CICD@tmp/durable-e0c32a63 13:49:19 (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
I have gone through some blogs related to this topic.

Appreciate your thoughts and feedback.