Updated build with notify

This commit is contained in:
jenkins-x-bot 2020-09-11 17:21:18 +08:00
parent 13a925fcfb
commit 03804bd63c
2 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Base on latest (edge) alpine image
FROM harbor.ervine.dev/library/x86_64/alpine/alpine-3.12
FROM harbor.ervine.dev/public/x86_64/alpine:v3.12
MAINTAINER Jonathan Ervine <docker@ervine.org>
LABEL "MAINTAINER Jonathan Ervine <docker@ervine.org>"
# Install updates
ENV LANG='en_US.UTF-8' \

7
Jenkinsfile vendored
View File

@ -27,8 +27,11 @@ spec:
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine.git', credentialsId: 'jenkins-to-git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/alpine/python:3.12.0 --destination=harbor.ervine.dev/library/x86_64/alpine/python:3.12'
}
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/python:v3.12.0 --destination=harbor.ervine.dev/public/x86_64/alpine/python:v3.12'
}
}
stage('Notify GChat') {
hangoutsNotify message: "Python environment on Alpine has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}
}
}