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