Files
jenkins-casc/Jenkinsfile
T
matthias 71a9e00050
kaniko-test/pipeline/head There was a failure building this commit
Jenkinsfile aktualisiert
2025-03-11 01:08:50 +00:00

33 lines
639 B
Groovy

pipeline {
agent {
kubernetes {
yaml '''
apiVersion: v1
kind: Pod
metadata:
labels:
some-label: some-label-value
spec:
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:debug
command: ["/busybox/cat"]
tty: true
'''
retries 2
}
}
stages {
stage('Run kaniko') {
steps {
container('kaniko') {
ansiColor('xterm') {
sh '''
/kaniko/executor --dockerfile="Dockerfile" --no-push
'''
}
}
}
}
}
}