From 3a3e67d561a1351e1e6611660792ed2133dc8dbd Mon Sep 17 00:00:00 2001 From: jonny Date: Thu, 11 Mar 2021 14:38:45 +0000 Subject: [PATCH] 'update files with ansible' --- Dockerfile | 1 - Jenkinsfile | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6e7d018..266c50f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ COPY package*.json ./ COPY . . RUN npm install && npm run build - FROM node:14.5.0-alpine3.12 WORKDIR /usr/src/app diff --git a/Jenkinsfile b/Jenkinsfile index a3df80f..aeecbf5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ kind: Pod spec: containers: - name: kaniko - image: gcr.io/kaniko-project/executor:debug-539ddefcae3fd6b411a95982a830d987f4214251 + image: "gcr.io/kaniko-project/executor:debug" imagePullPolicy: Always command: - /busybox/cat @@ -28,9 +28,12 @@ spec: stage('Build with Kaniko') { git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-slack2chat.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/slack2chat:14.5.0' + sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine//slack2chat:14.5.0' } } + stage('Notify gchat') { + hangoutsNotify message: "Slack2chat 14.5.0 on Alpine has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false + } } }