Fixed git command
This commit is contained in:
parent
234247d123
commit
d0911c3cdb
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -25,7 +25,7 @@ spec:
|
|||||||
|
|
||||||
node(POD_LABEL) {
|
node(POD_LABEL) {
|
||||||
stage('Build with Kaniko') {
|
stage('Build with Kaniko') {
|
||||||
git 'https://git.ervine.org/jonny/x86_64-alpine-3.11.git', credentialsId: 'git-to-jenkins'
|
git url: 'ssh:://git@git.ervine.org/jonny/x86_64-alpine-3.11.git', credentialsId: 'git-to-jenkins'
|
||||||
container('kaniko') {
|
container('kaniko') {
|
||||||
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/alpine:3.11.6 --destination=harbor.ervine.dev/library/x86_64/alpine:3.11'
|
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/alpine:3.11.6 --destination=harbor.ervine.dev/library/x86_64/alpine:3.11'
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user