Jenkinsfile aktualisiert
kaniko-test/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2025-03-11 00:52:50 +00:00
parent 52b74a4994
commit b08eed5862
Vendored
+9 -18
View File
@@ -9,31 +9,22 @@ pipeline {
some-label: some-label-value some-label: some-label-value
spec: spec:
containers: containers:
- name: buildah - name: kaniko
image: quay.io/buildah/stable image: gcr.io/kaniko-project/executor:latest
command: args:
- cat - "--dockerfile=Dockerfile"
tty: true - "--context=."
- name: busybox - "--no-push"
image: busybox
command:
- cat
tty: true
''' '''
retries 2 retries 2
} }
} }
stages { stages {
stage('Run buildah') { stage('Run kaniko') {
steps { steps {
container('buildah') { container('kaniko') {
sh 'ls -lha'
sh 'buildah images'
sh 'buildah bud -t my-jenkins-casc:latest .'
sh 'buildah images'
}
container('busybox') {
sh 'ls -lha' sh 'ls -lha'
} }
} }
} }