Jenkinsfile aktualisiert
This commit is contained in:
parent
cab7bca691
commit
7e59a858f8
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -10,6 +10,13 @@ pipeline {
|
||||
name: docker
|
||||
spec:
|
||||
containers:
|
||||
- name: kaniko
|
||||
image: gcr.io/kaniko-project/executor:debug
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- sleep
|
||||
args:
|
||||
- 9999999
|
||||
- name: dind
|
||||
image: docker:24.0.0-rc.1-dind
|
||||
securityContext:
|
||||
@ -25,7 +32,7 @@ pipeline {
|
||||
stages {
|
||||
stage('Build Docker image') {
|
||||
steps {
|
||||
container('dind') {
|
||||
container('kaniko') {
|
||||
sh 'docker build -t andreas/rsyncd .'
|
||||
sh 'docker images'
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user