diff --git a/Dockerfile b/Dockerfile index 59f0c1e..8d07cf9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # 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/alpine:3.12 MAINTAINER “Jonathan Ervine” diff --git a/Jenkinsfile b/Jenkinsfile index 2af255b..2cdf75a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,8 +27,12 @@ spec: stage('Build with Kaniko') { git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-dnsmasq.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/dnsmasq:latest --destination=harbor.ervine.dev/library/x86_64/alpine/dnsmasq:3.12.0 --destination=harbor.ervine.dev/library/x86_64/alpine/dnsmasq:3.12' + sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/dnsmasq:latest --destination=harbor.ervine.dev/public/x86_64/alpine/dnsmasq:v3.12.0 --destination=harbor.ervine.dev/public/x86_64/alpine/dnsmasq:v3.12' } } } } + +stage('Notify gchat') { + hangoutsNotify message: "Alpine Linux 3.12.0 with dnsmasq has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false +}