3.16.0
dockers/alpine/pipeline/head This commit looks good
Details
dockers/alpine/pipeline/head This commit looks good
Details
This commit is contained in:
parent
4c6cb823bd
commit
975ff5403f
|
@ -1,7 +1,7 @@
|
|||
FROM alpine as build
|
||||
|
||||
ARG VERSION
|
||||
ENV ALPINE_SERIES 3.15
|
||||
ENV ALPINE_SERIES 3.16
|
||||
ENV ALPINE_MIRROR https://ftp.halifax.rwth-aachen.de/alpine/v${ALPINE_SERIES}
|
||||
ENV ALPINE_ARCH x86_64
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version = "3.15.4"
|
||||
version = "3.16.0"
|
||||
project = "alpine"
|
||||
repo = "zknt"
|
||||
registry = "reg.zknt.org"
|
||||
|
@ -14,14 +14,14 @@ pipeline {
|
|||
script {
|
||||
def customImage = docker.build(registry+'/'+repo+'/'+project, "--pull --build-arg VERSION=$version --build-arg DATE=$timeStamp .")
|
||||
customImage.push(version)
|
||||
customImage.push("3.15")
|
||||
customImage.push("3.16")
|
||||
def io_registry_credentials = "3deeee3d-6fce-4430-98dd-9b4db56f43f7"
|
||||
withDockerRegistry([ credentialsId: io_registry_credentials ]) {
|
||||
def io_registry_image = repo + '/' + project + ':' + version
|
||||
sh "docker image tag " + registry+'/'+repo+'/'+project+':'+version + ' ' + io_registry_image
|
||||
sh "docker push " + io_registry_image
|
||||
sh "docker image tag " + registry+'/'+repo+'/'+project+':'+version + ' ' + io_registry_image.split(/\:/)[0] + ":3.15"
|
||||
sh "docker push " + io_registry_image.split(/\:/)[0] + ":3.15"
|
||||
sh "docker image tag " + registry+'/'+repo+'/'+project+':'+version + ' ' + io_registry_image.split(/\:/)[0] + ":3.16"
|
||||
sh "docker push " + io_registry_image.split(/\:/)[0] + ":3.16"
|
||||
}
|
||||
|
||||
def quay_credentials= "18fb6f7e-c6bc-4d06-9bf9-08c2af6bfc1a"
|
||||
|
@ -29,8 +29,8 @@ pipeline {
|
|||
def quay_image = 'quay.io/' + repo + '/' + project + ':' + version
|
||||
sh "docker image tag " + registry+'/'+repo+'/'+project+':'+version + ' ' + quay_image
|
||||
sh "docker push " + quay_image
|
||||
sh "docker image tag " + registry+'/'+repo+'/'+project+':'+version + ' ' + quay_image.split(/\:/)[0] + ":3.15"
|
||||
sh "docker push " + quay_image.split(/\:/)[0] + ":3.15"
|
||||
sh "docker image tag " + registry+'/'+repo+'/'+project+':'+version + ' ' + quay_image.split(/\:/)[0] + ":3.16"
|
||||
sh "docker push " + quay_image.split(/\:/)[0] + ":3.16"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
version: 3.15.4
|
||||
version: 3.16.0
|
||||
project: alpine
|
||||
additional_tags:
|
||||
- 3.15
|
||||
- 3.16
|
||||
|
|
Loading…
Reference in New Issue