3.12 #1

Manually merged
jonny merged 3 commits from 3.12 into master 2020-07-06 15:08:15 +00:00
3 changed files with 24 additions and 0 deletions
Showing only changes of commit 29b09821fd - Show all commits

5
Dockerfile Normal file
View File

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

19
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,19 @@
node("docker-node") {
docker.withRegistry('https://harbor.ervine.dev', 'jenkins-to-harbor') {
git branch: "3.10", url: "ssh://git@git.ervine.org:2222/jonny/x86_64-alpine", credentialsId: 'jenkins-to-gogs'
sh "git rev-parse HEAD > .git/commit-id"
def commit_id = readFile('.git/commit-id').trim()
println commit_id
stage "build"
def app = docker.build "library/x86_64/alpine/alpine-3.10"
stage "publish"
app.push("${env.BUILD_NUMBER}")
app.push("latest")
app.push("3.10")
app.push("3.10.5")
}
}

Binary file not shown.