Remove platform from target tag images in Jenkinsfile
This commit is contained in:
parent
ecc301d337
commit
8e0d846ad1
|
@ -49,10 +49,10 @@ pipeline {
|
|||
stage("Build ${PLATFORM}") {
|
||||
script {
|
||||
SOURCE_IMAGE = SOURCE
|
||||
TARGET_IMAGE = TARGET+':'+PLATFORM.tokenize('/')[1]
|
||||
TARGET_IMAGE = TARGET
|
||||
if (env.BRANCH_NAME.startsWith('release/')) {
|
||||
SOURCE_IMAGE += ":" + VERSION
|
||||
TARGET_IMAGE += "." + VERSION
|
||||
TARGET_IMAGE += ":" + VERSION
|
||||
} else {
|
||||
TARGET_IMAGE += VERSION
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue