This commit is contained in:
1 file changed
+11
Vendored
+11
@@ -98,6 +98,17 @@ pipeline {
|
||||
--push \
|
||||
.""",
|
||||
label: 'Build Docker image'
|
||||
|
||||
if (env.BRANCH_NAME == 'master') {
|
||||
if (env.VERSION ==~ '-\\d+-g[a-f0-9]{7}') {
|
||||
env.FIXED_VERSION = 'dev'
|
||||
} else {
|
||||
env.FIXED_VERSION = 'stable'
|
||||
}
|
||||
sh script: """docker buildx imagetools create \
|
||||
-t git.esoko.eu/esoko/rvr:${env.FIXED_VERSION} \
|
||||
git.esoko.eu/esoko/rvr:${env.VERSION}"""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user