Compare commits
32 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f95a0021d5 | |||
| c047547052 | |||
| 62deb8edd9 | |||
| bacb41a394 | |||
| 65db067c64 | |||
| 5f64da0608 | |||
| befc4eeb05 | |||
| 7a3d46e03f | |||
| 83542c17f1 | |||
| 7a2291b6b9 | |||
| c0a529f23d | |||
| 7ca3ff398f | |||
| 3de7cabf78 | |||
| 47f856be04 | |||
| a0272f81a9 | |||
| 53129e0833 | |||
| 60d3d05c4f | |||
| 3ec9cff98d | |||
| fa74d405ad | |||
| 222ab4a6f3 | |||
|
|
6364ded993 | ||
|
|
c49c7e6d56 | ||
| fd3331a78b | |||
|
|
60f8992bc9 | ||
|
|
3916ff08f4 | ||
|
|
9522eb01b8 | ||
|
|
0cee30513e | ||
|
|
e8021842ab | ||
|
|
c83657c8f1 | ||
|
|
9ff4cee802 | ||
|
|
93115f70b7 | ||
| 34a8ecd445 |
@ -1,5 +1,5 @@
|
|||||||
FROM scratch
|
FROM scratch
|
||||||
LABEL maintainer "Jonathan Ervine <docker@ervine.org>" architecture="x86_64" alpineversion="3.12.0" build="06072020"
|
LABEL maintainer "Jonathan Ervine <docker@ervine.org>" architecture="x86_64" alpineversion="3.16.2" build="10022021"
|
||||||
|
|
||||||
ADD alpine-minirootfs-3.12.0-x86_64.tar.gz /
|
ADD alpine-minirootfs-3.16.2-x86_64.tar.gz /
|
||||||
CMD ["/bin/sh"]
|
CMD ["/bin/sh"]
|
||||||
|
|||||||
52
Jenkinsfile
vendored
52
Jenkinsfile
vendored
@ -1,18 +1,38 @@
|
|||||||
node("docker-node") {
|
podTemplate(yaml: """
|
||||||
docker.withRegistry('https://harbor.ervine.dev', 'jenkins-to-harbor') {
|
kind: Pod
|
||||||
|
spec:
|
||||||
git branch: "3.12", url: "ssh://git@git.ervine.org/jonny/x86_64-alpine", credentialsId: 'jenkins-to-git'
|
containers:
|
||||||
|
- name: kaniko
|
||||||
sh "git rev-parse HEAD > .git/commit-id"
|
image: "gcr.io/kaniko-project/executor:debug"
|
||||||
def commit_id = readFile('.git/commit-id').trim()
|
imagePullPolicy: Always
|
||||||
println commit_id
|
command:
|
||||||
|
- /busybox/cat
|
||||||
stage "build"
|
tty: true
|
||||||
def app = docker.build "library/x86_64/alpine/alpine-3.10"
|
volumeMounts:
|
||||||
|
- name: jenkins-docker-cfg
|
||||||
stage "publish"
|
mountPath: /kaniko/.docker
|
||||||
app.push("${env.BUILD_NUMBER}")
|
volumes:
|
||||||
app.push("latest")
|
- name: jenkins-docker-cfg
|
||||||
app.push("3.12")
|
projected:
|
||||||
|
sources:
|
||||||
|
- secret:
|
||||||
|
name: regcred
|
||||||
|
items:
|
||||||
|
- key: .dockerconfigjson
|
||||||
|
path: config.json
|
||||||
|
"""
|
||||||
|
) {
|
||||||
|
|
||||||
|
node(POD_LABEL) {
|
||||||
|
stage('Build with Kaniko') {
|
||||||
|
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine.git', credentialsId: 'jenkins2git'
|
||||||
|
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'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
stage('Notify gchat') {
|
||||||
|
hangoutsNotify message: "Alpine Linux 3.16.2 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
alpine-minirootfs-3.10.5-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.10.5-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.10.6-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.10.6-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.10.7-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.10.7-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.10.9-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.10.9-x86_64.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
BIN
alpine-minirootfs-3.13.0-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.13.0-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.13.1-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.13.1-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.13.2-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.13.2-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.13.3-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.13.3-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.13.4-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.13.4-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.13.5-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.13.5-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.14.0-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.14.0-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.14.1-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.14.1-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.14.2-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.14.2-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.14.3-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.14.3-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.15.0-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.15.0-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.15.4-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.15.4-x86_64.tar.gz
Normal file
Binary file not shown.
BIN
alpine-minirootfs-3.16.2-x86_64.tar.gz
Normal file
BIN
alpine-minirootfs-3.16.2-x86_64.tar.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user