Jenkinsfile aktualisiert

This commit is contained in:
dresi 2025-11-05 13:55:14 +01:00
parent 7e59a858f8
commit c269039480

11
Jenkinsfile vendored
View File

@ -32,16 +32,21 @@ pipeline {
stages {
stage('Build Docker image') {
steps {
container('kaniko') {
sh 'docker build -t andreas/rsyncd .'
sh 'docker images'
container(name: 'kaniko', shell: '/busybox/sh') {
sh '''#!/busybox/sh
/kaniko/executor --dockerfile `pwd`/Dockerfile --context `pwd` --destination=andreas/rsyncd:latest
'''
}
}
}
stage('Tag Docker image') {
steps {
container('kaniko') {
sh 'docker images'
sh 'ls -la'
}
}
}
}
}