From 4edd5cfa00984a3888f09ad29fb57f7118775d57 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Sun, 16 Aug 2020 21:28:21 +0800 Subject: [PATCH] Fixed source image --- Dockerfile | 4 ++-- Jenkinsfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8d07cf9..5c1dba6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Base on latest (edge) alpine image -FROM harbor.ervine.dev/public/x86_64/alpine/alpine:3.12 +FROM harbor.ervine.dev/public/x86_64/alpine:v3.12 -MAINTAINER “Jonathan Ervine” +LABEL "Maintainer Jonathan Ervine " # Install updates ENV LANG='en_US.UTF-8' \ diff --git a/Jenkinsfile b/Jenkinsfile index 2cdf75a..c2f8167 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,7 @@ 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=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' + sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/dnsmasq:v3.12.0 --destination=harbor.ervine.dev/public/x86_64/alpine/dnsmasq:v3.12' } } }