From 3488439f241eb30e69cc69cdca29120c63e27c75 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sat, 1 Oct 2022 21:00:32 +0200 Subject: [PATCH] added kaniko example --- Jenkinsfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 2a9a0c0..ca86a8c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,6 +25,11 @@ pipeline { container('kaniko') { sh """ echo 'Hello world' + echo /kaniko/executor --dockerfile Dockerfile \ + --cache=true \ + --cache-ttl=100000h \ + --context \$( pwd ) \ + --destination depot.wamblee.org/rockyrocks:${env.BRANCH_NAME} """ } } -- 2.31.1