Use dev image name

This commit is contained in:
Jonathan Ervine 2020-11-20 16:42:48 +08:00
parent ff85054569
commit 9ab54c69cb

2
Jenkinsfile vendored
View File

@ -27,7 +27,7 @@ spec:
stage('Build with Kaniko') {
git branch: 'dev', url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-hockey.git', credentialsId: 'jenkins-to-git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/hockey:v3.12.1 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey:v3.12'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.12.1 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.12'
}
}
}