14 Commits
Author SHA1 Message Date
Jonathan Ervine 6efdc2a62b Bumped to Alpine Linux 3.13.1 2021-02-10 20:41:40 +08:00
Jonathan Ervine 6364ded993 Bumped to 3.13.0 2021-01-20 20:24:35 +08:00
Jonathan Ervine c49c7e6d56 Bumped to Alpine Linux 3.12.3 2021-01-13 22:40:19 +08:00
jonny fd3331a78b Merge pull request '3.12.1' (#2) from 3.12.1 into master
Reviewed-on: #2
2020-11-10 05:48:57 +00:00
Jonathan Ervine 60f8992bc9 Build Alpine Linux 3.12.1 2020-11-10 13:47:03 +08:00
Jonathan Ervine 3916ff08f4 Added GChat message 2020-08-12 17:00:10 +08:00
Jonathan Ervine 9522eb01b8 Added public repo destination 2020-07-26 21:47:00 +08:00
Jonathan Ervine 0cee30513e Fixed harbor URL 2020-07-20 14:51:04 +08:00
Jonathan Ervine e8021842ab Fixed typo 2020-07-20 14:49:05 +08:00
Jonathan Ervine c83657c8f1 Using node builder 2020-07-20 14:47:49 +08:00
Jonathan Ervine 9ff4cee802 Fixed image name 2020-07-07 23:17:18 +08:00
Jonathan Ervine 93115f70b7 Fixed typo 2020-07-06 23:16:29 +08:00
jonny 34a8ecd445 Merge pull request '3.12' (#1) from 3.12 into master
Reviewed-on: #1
2020-07-06 15:08:02 +00:00
Jonathan Ervine d5c1f1db63 Bumped to 3.12 2020-07-06 23:05:41 +08:00
4 changed files with 38 additions and 19 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
FROM scratch FROM scratch
LABEL maintainer "Jonathan Ervine <docker@ervine.org>" architecture="x86_64" alpineversion="3.10.5" build="08052020" LABEL maintainer "Jonathan Ervine <docker@ervine.org>" architecture="x86_64" alpineversion="3.13.1" build="10022021"
ADD alpine-minirootfs-3.10.5-x86_64.tar.gz / ADD alpine-minirootfs-3.13.1-x86_64.tar.gz /
CMD ["/bin/sh"] CMD ["/bin/sh"]
Vendored
+35 -16
View File
@@ -1,19 +1,38 @@
node("docker-node") { podTemplate(yaml: """
docker.withRegistry('https://harbor.ervine.dev', 'jenkins-to-harbor') { kind: Pod
spec:
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:debug-539ddefcae3fd6b411a95982a830d987f4214251
imagePullPolicy: Always
command:
- /busybox/cat
tty: true
volumeMounts:
- name: jenkins-docker-cfg
mountPath: /kaniko/.docker
volumes:
- name: jenkins-docker-cfg
projected:
sources:
- secret:
name: regcred
items:
- key: .dockerconfigjson
path: config.json
"""
) {
git branch: "3.10", url: "ssh://git@git.ervine.org/jonny/x86_64-alpine", credentialsId: 'jenkins-to-gogs' node(POD_LABEL) {
stage('Build with Kaniko') {
sh "git rev-parse HEAD > .git/commit-id" git 'https://git.ervine.org/jonny/x86_64-alpine.git'
def commit_id = readFile('.git/commit-id').trim() container('kaniko') {
println commit_id 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 "build" }
def app = docker.build "library/x86_64/alpine/alpine-3.10" stage('Notify gchat') {
hangoutsNotify message: "Alpine 3.13.1 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
stage "publish" }
app.push("${env.BUILD_NUMBER}")
app.push("latest")
app.push("3.10")
app.push("3.10.5")
} }
} }
Binary file not shown.
Binary file not shown.