Compare commits

..

2 Commits

Author SHA1 Message Date
14d83d24b4
Merge pull request 'push fixed version images' (!73) from feature/auto-release-fixed-tags into master
All checks were successful
rvr-nextgen/pipeline/head This commit looks good
Reviewed-on: #73
2023-10-01 00:07:52 +02:00
ba02b6d8cb
push fixed version images
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
2023-10-01 00:06:38 +02:00

11
Jenkinsfile vendored
View File

@ -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}"""
}
}
}
}