diff --git a/Jenkinsfile b/Jenkinsfile index 9ca388b..3e76e78 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,10 +20,10 @@ pipeline { stages { stage('Run kaniko') { steps { - container('kaniko') { + container(name: 'kaniko', shell: '/busybox/sh') { ansiColor('xterm') { - sh ''' - /kaniko/executor --dockerfile="Dockerfile" --no-push + sh '''#!/busybox/sh + /kaniko/executor --dockerfile="Dockerfile" --context=`pwd` --no-push ''' } }