Compare commits

..

1 Commits

Author SHA1 Message Date
Jonathan Ervine
6efdc2a62b Bumped to Alpine Linux 3.13.1 2021-02-10 20:41:40 +08:00
18 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
FROM scratch
LABEL maintainer "Jonathan Ervine <docker@ervine.org>" architecture="x86_64" alpineversion="3.16.2" build="10022021"
LABEL maintainer "Jonathan Ervine <docker@ervine.org>" architecture="x86_64" alpineversion="3.13.1" build="10022021"
ADD alpine-minirootfs-3.16.2-x86_64.tar.gz /
ADD alpine-minirootfs-3.13.1-x86_64.tar.gz /
CMD ["/bin/sh"]

8
Jenkinsfile vendored
View File

@ -3,7 +3,7 @@ kind: Pod
spec:
containers:
- name: kaniko
image: "gcr.io/kaniko-project/executor:debug"
image: gcr.io/kaniko-project/executor:debug-539ddefcae3fd6b411a95982a830d987f4214251
imagePullPolicy: Always
command:
- /busybox/cat
@ -25,13 +25,13 @@ spec:
node(POD_LABEL) {
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine.git', credentialsId: 'jenkins2git'
git 'https://git.ervine.org/jonny/x86_64-alpine.git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine:v3.16.2 --destination=harbor.ervine.dev/public/x86_64/alpine:v3.16'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine:v3.13.1 --destination=harbor.ervine.dev/public/x86_64/alpine:v3.13'
}
}
stage('Notify gchat') {
hangoutsNotify message: "Alpine Linux 3.16.2 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
hangoutsNotify message: "Alpine 3.13.1 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}
}
}