Added dev tags

This commit is contained in:
Jonathan Ervine 2020-11-09 10:57:57 +08:00
parent 983fb3be1a
commit 9830b20587
2 changed files with 5 additions and 5 deletions

0
Dockerfile Normal file → Executable file
View File

10
Jenkinsfile vendored
View File

@ -25,14 +25,14 @@ spec:
node(POD_LABEL) {
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-hockey.git', credentialsId: 'jenkins-to-git'
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.0 --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.0 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.12'
}
}
stage('Notify gchat') {
hangoutsNotify message: "Hockey (dev) Application on Alpine Linux 3.12.0 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}
}
}
stage('Notify gchat') {
hangoutsNotify message: "Hockey Application on Alpine Linux 3.12.0 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}